| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
In order to use StrictSanitizer in test mode
Consider :id as not sensetive attribute that can be filtered from
mass assignement without exception.
|
| |
|
|
|
|
|
| |
In order to specify your own sanitize method
Implemented .mass_assignment_sanitizer configuration option
|
|
|
|
|
|
| |
Added an ability to specify your own behavior on mass assingment
protection, controlled by option:
ActiveModel::MassAssignmentSecurity.mass_assignment_sanitizer
|
|
|
|
| |
There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
|
| |
|
|
Signed-off-by: José Valim <jose.valim@gmail.com>
|