aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/visitor.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* automatically include ActiveModel::Validations when include ↵Aditya Kapoor2014-07-031-1/+0
| | | | ActiveModel::SecurePassword
* Remove MassAssignmentSecurity from ActiveModelGuillermo Iguaran2012-09-161-2/+1
| | | | This will be moved out to protected_attributes gem
* Updated tests for has_secure_password.Erich Menge2012-05-081-2/+5
|
* Override attributes_protected_by_default when has_secure_password is called.Tsutomu Kuroda2011-02-091-0/+9
attr_protected should not be called, because it nullifies the mass assignment protection that has been set by attr_accessible. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>