Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

DEPRECATION WARNING: process_view_paths for append and prepend_view_paths #519

pivotale20 opened this Issue Mar 20, 2012 · 7 comments


None yet
6 participants

DEPRECATION WARNING: process_view_paths is deprecated and will be removed from Rails 3.2.

This code can be found on https://github.com/rspec/rspec-rails/blob/master/lib/rspec/rails/view_rendering.rb#L98


jgarber commented Apr 12, 2012


I tried to get rspec-rails going on my machine for dev, but couldn't follow either DEV-README.md, README_DEV.md, or the link under "Contribute" in the README.md


justinko commented Apr 13, 2012

@jgarber Whoops! Running rspec-rails master standalone will bundle the other spec 2.9 repos, and rspec-rails master uses a method that is only in rspec-core master (a rare occurrence, good timing!): 47907b3

Please try setting up rspec-dev (it's actually easier): https://github.com/rspec/rspec-dev

Let me know if you run into any issues.


dchelimsky commented Apr 20, 2012

Is this still an issue? I can't reproduce.


dchelimsky commented Apr 20, 2012

@justinko I think this is related to something different than prepend_before, et al.

It is still an issue with the latest released:

/Users/aaronjensen/.rvm/gems/ruby-1.9.3-p125-perf@myapp/gems/activesupport-3.2.3/lib/active_support/deprecation/reporting.rb:12:in `warn'
/Users/aaronjensen/.rvm/gems/ruby-1.9.3-p125-perf@myapp/gems/activesupport-3.2.3/lib/active_support/deprecation/method_wrappers.rb:16:in `process_view_paths_with_deprecation'
/Users/aaronjensen/.rvm/gems/ruby-1.9.3-p125-perf@myapp/gems/rspec-rails-2.9.0/lib/rspec/rails/view_rendering.rb:98:in `_path_decorator'
/Users/aaronjensen/.rvm/gems/ruby-1.9.3-p125-perf@myapp/gems/rspec-rails-2.9.0/lib/rspec/rails/view_rendering.rb:87:in `prepend_view_path'
/Users/aaronjensen/Source/myapp/app/controllers/mobile_detection.rb:65:in `prepend_view_path_if_mobile'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment