Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [1054ebd613c5596bc1ebb8d610d19e5fa374cca5] by Josh Kalderimis

Revision 1054ebd613c5596bc1ebb8d610d19e5fa374cca5, committed by Josh Kalderimis · April 24th, 2011 @ 08:53 AM

AM mass assignment security attr_accessible and attr_protected now allow for scopes using :as => scope eg.

attr_accessible :name
attr_accessible :name, :admin, :as => :admin

https://github.com/rails/rails/commit/1054ebd613c5596bc1ebb8d610d19...

4 changed files

  • M activemodel/lib/active_model/mass_assignment_security.rb
  • M activemodel/test/cases/mass_assignment_security_test.rb
  • M activemodel/test/cases/secure_password_test.rb
  • M activemodel/test/models/mass_assignment_specific.rb