aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/mass_assignment_security
Commit message (Collapse)AuthorAgeFilesLines
* Speed up mass assignment by avoiding extra loops.José Valim2012-03-161-7/+5
|
* Revert "AM::MassAssingmentSecurity: improve performance"José Valim2012-03-151-16/+18
| | | | | | It introduces backwards incompatible changes in the API. This reverts commit 7d1379ffdbbaf01e99833dc06611b7e4f3799522.
* AM::MassAssingmentSecurity: improve performanceBogdan Gusiev2012-03-141-18/+16
|
* use logger.warn for warningsAaron Patterson2012-01-041-1/+1
|
* push exception message formatting to the exception classAaron Patterson2012-01-041-1/+4
|
* push target down to the classes that care about itAaron Patterson2012-01-041-4/+5
|
* just implement the delegate methodAaron Patterson2012-01-041-4/+4
|
* Fix grammatical error in ↵Steve Richert2012-01-021-1/+1
| | | | ActiveModel::MassAssignmentSecurity::PermissionSet#deny? NotImplementedError message
* MassAssignmentProtection: consider 'id' insensetive in StrictSanitizerBogdan Gusiev2011-07-281-0/+5
| | | | | | In order to use StrictSanitizer in test mode Consider :id as not sensetive attribute that can be filtered from mass assignement without exception.
* Remove trailing whitespacesGuillermo Iguaran2011-06-121-1/+1
|
* Transform the symbol into a constant lookup.José Valim2011-05-311-8/+15
|
* ActiveModel::MassAssignmentSecurity.mass_assignment_sanitizer methodBogdan Gusiev2011-05-301-1/+11
| | | | | In order to specify your own sanitize method Implemented .mass_assignment_sanitizer configuration option
* MassAssignmentSecurity: add ability to specify your own sanitizerBogdan Gusiev2011-05-262-9/+23
| | | | | | Added an ability to specify your own behavior on mass assingment protection, controlled by option: ActiveModel::MassAssignmentSecurity.mass_assignment_sanitizer
* Add missing require to use SetSantiago Pastorino2010-07-111-1/+2
|
* Change documentation for ActiveModel::MassAssignmentSecurity a bit and make ↵José Valim2010-07-082-21/+13
| | | | debug always be called since some people may overwrite warn! to add extra behavior even if logger is not available.
* mass_assignment_security moved from AR to AMo, and minor test cleanupJosh Kalderimis2010-07-082-0/+70
Signed-off-by: José Valim <jose.valim@gmail.com>