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
Myron Marston 1f8cc446d9 Allow observers to be enabled and disabled.
This is useful in situations like model unit tests and the occasional rake task to backfill old data.
2011-04-28 10:23:49 +08:00
..
administrator.rb Override attributes_protected_by_default when has_secure_password is called. 2011-02-09 18:35:15 -02:00
automobile.rb validation macros can now be used within an instance 2010-05-13 13:57:37 -07:00
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 AM mass assignment security attr_accessible and attr_protected now allow for scopes using :as => scope eg. 2011-04-24 09:53:18 +02:00
observers.rb Allow observers to be enabled and disabled. 2011-04-28 10:23:49 +08:00
person.rb Revert "Properly interpolate i18n keys in modules [#5572 state:resolved]" 2011-02-27 21:30:03 -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 removed use of AR in AMo tests and removed testing of scopes (:on) in individual validation tests and moved them to their own test file 2010-05-08 23:51:36 +03:00
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