1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test/models
Tsutomu Kuroda ad31549ab3 Override attributes_protected_by_default when has_secure_password is called.
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>
2011-02-09 18:35:15 -02:00
..
administrator.rb Override attributes_protected_by_default when has_secure_password is called. 2011-02-09 18:35:15 -02:00
automobile.rb
blog_post.rb Prepared ActiveModel::Naming to handle cases for namespaced isolated engines 2010-09-03 22:59:15 +02:00
contact.rb Reuse already existing classes for ActiveModel tests. 2010-07-21 13:00:56 +02:00
custom_reader.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
mass_assignment_specific.rb
person.rb Properly interpolate i18n keys in modules [#5572 state:resolved] 2010-09-24 20:41:12 +02:00
person_with_validator.rb Better shortcut options for custom validators [#5672 state:resolved] 2010-09-24 12:49:16 +02:00
reply.rb
sheep.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
topic.rb Optionally pass in the attribute being validated to an instance method validator 2011-02-05 16:44:35 -08:00
track_back.rb No need to pass self as parameter here. 2010-10-04 22:32:29 +02:00
user.rb Added ActiveRecord::Base#has_secure_password (via ActiveModel::SecurePassword) to encapsulate dead-simple password usage with SHA2 encryption and salting 2010-12-18 13:38:05 -08:00
visitor.rb Override attributes_protected_by_default when has_secure_password is called. 2011-02-09 18:35:15 -02:00