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 [a08d04bedfd01cc0a517ccedf74f2ceac70eb28d] by Josh Kalderimis

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

Added assign_attributes to Active Record which accepts a mass-assignment security scope using the :as option, while also allowing mass-assignment security to be bypassed using :with_protected
https://github.com/rails/rails/commit/a08d04bedfd01cc0a517ccedf74f2...

6 changed files

  • R activerecord/test/models/loose_person.rb
  • M activerecord/lib/active_record/base.rb
  • M activerecord/test/cases/base_test.rb
  • M activerecord/test/cases/mass_assignment_security_test.rb
  • M activerecord/test/cases/persistence_test.rb
  • M activerecord/test/models/person.rb