This project is archived and is in readonly mode.

Changeset [1054ebd613c5596bc1ebb8d610d19e5fa374cca5] 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...

Committed by Josh Kalderimis

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>