Steps to reproduce:
- Start the app
- Navigate the http://localhost:3000/pictures/
- ...
No exception or an execption because an activeresource was not configured, similar to following:
[2011-11-07 22:29:26] ERROR NoMethodError: undefined method `wrap_parameters' for ActionController::Base:Class
config/initializers/wrap_parameters.rb:8
An exception because a scoped
method was called on an ActiveResource
class:
NoMethodError in Pictures#index
Showing app/views/pictures/_picture.html.erb where line #1 raised:
undefined method `scoped' for Employee:Class
Check out branch rails-3.0 to test the behavior with Rails 3.0 (works).