Hi, I read this commit (
Eliminate use of deprecated process_view_paths. · rspec/rspec-rails@ff6a9ff · GitHub)
to eliminate process_view_paths warning. But, process_view_paths still
warning and I don’t understand why.
Warning message: DEPRECATION WARNING: process_view_paths is deprecated
and
will be removed from Rails 3.2. (called from set_custom_view at
/…/app/controllers/application_controller.rb:43)
- code *
[line 42] def set_custom_view
[line 43] prepend_view_path
([ActionView::PathSet.new([“themes/base/default”]).first,
@@base_default,
@@base_theme, @@published])
[line 44] end - end code *
My environment
$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]
$ rails -v
Rails 3.2.3
o/
Joo Vctor Rocon Maia