diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-04-23 12:50:29 +0200 |
---|---|---|
committer | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-04-24 09:53:18 +0200 |
commit | 1054ebd613c5596bc1ebb8d610d19e5fa374cca5 (patch) | |
tree | 40863d881726f63ca0c7ffe226d559d9ea333809 /activerecord/test/cases/mass_assignment_security_test.rb | |
parent | af1b48926f49226c934995c322ee017239158cf3 (diff) | |
download | rails-1054ebd613c5596bc1ebb8d610d19e5fa374cca5.tar.gz rails-1054ebd613c5596bc1ebb8d610d19e5fa374cca5.tar.bz2 rails-1054ebd613c5596bc1ebb8d610d19e5fa374cca5.zip |
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
Diffstat (limited to 'activerecord/test/cases/mass_assignment_security_test.rb')
0 files changed, 0 insertions, 0 deletions