aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/mass_assignment_security_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Allow to specify mass-assignment roles as arrayAlexander Uvarov2011-06-231-0/+14
|
* MassAssignmentSecurity: add ability to specify your own sanitizerBogdan Gusiev2011-05-261-0/+20
| | | | | | Added an ability to specify your own behavior on mass assingment protection, controlled by option: ActiveModel::MassAssignmentSecurity.mass_assignment_sanitizer
* renamed mass-assignment scopes to roles, updated code, tests, docs and ↵Josh Kalderimis2011-05-081-2/+2
| | | | security guide
* AM mass assignment security attr_accessible and attr_protected now allow for ↵Josh Kalderimis2011-04-241-6/+33
| | | | | | | | scopes using :as => scope eg. attr_accessible :name attr_accessible :name, :admin, :as => :admin
* code gardening: we have assert_(nil|blank|present), more concise, with ↵Xavier Noria2010-08-171-3/+3
| | | | better default failure messages - let's use them
* Avoid interpreted as grouped expression warningsSantiago Pastorino2010-07-111-3/+3
|
* mass_assignment_security moved from AR to AMo, and minor test cleanupJosh Kalderimis2010-07-081-0/+52
Signed-off-by: José Valim <jose.valim@gmail.com>