Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Latest commit

 

History

History
31 lines (20 loc) · 758 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 758 Bytes

Steps to reproduce:

  1. Start the app
  2. Navigate the http://localhost:3000/pictures/
  3. ...

Expected behavior

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

Observed behavior

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

Notes

Check out branch rails-3.0 to test the behavior with Rails 3.0 (works).