aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models
Commit message (Expand)AuthorAgeFilesLines
* Let validates_inclusion_of accept Time and DateTime rangesAkira Matsuda2013-10-231-1/+1
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-013-6/+6
* test for ActiveModel::Conversion#to_partial_path and namespaced modelsYves Senn2013-01-141-0/+4
* Remove observers and sweepersRafael Mendonça França2012-11-281-27/+0
* fix failing isolated testsFrancesco Rodriguez2012-10-261-0/+1
* AM::Serializers::Xml depends on AM::NamingFrancesco Rodriguez2012-10-261-1/+0
* attr_accessible and attr_protected raise an exception pointing to use plugin ...Guillermo Iguaran2012-09-161-0/+3
* Remove MassAssignmentSecurity from ActiveModelGuillermo Iguaran2012-09-164-88/+7
* Integrate ActiveModel::ForbiddenAttributesProtection from StrongParameters gemGuillermo Iguaran2012-09-161-0/+7
* has_secure_password should not raise a 'digest missing' error if the calling ...Robby Grossman2012-07-311-0/+11
* Updated tests for has_secure_password.Erich Menge2012-05-083-2/+11
* Rely on a public contract between railties instead of accessing railtie metho...José Valim2011-11-231-6/+2
* Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-07-251-0/+3
* Allow to specify mass-assignment roles as arrayAlexander Uvarov2011-06-231-1/+9
* Methods that return nil should not be considered YAMLJoshua Wehner2011-05-101-0/+4
* Allow observers to be enabled and disabled.Myron Marston2011-04-281-0/+27
* AM mass assignment security attr_accessible and attr_protected now allow for ...Josh Kalderimis2011-04-241-0/+11
* Revert "Properly interpolate i18n keys in modules [#5572 state:resolved]"Santiago Pastorino2011-02-271-5/+0
* failing test for i18n key collision with namespaced modelsSantiago Pastorino2011-02-271-0/+4
* Override attributes_protected_by_default when has_secure_password is called.Tsutomu Kuroda2011-02-092-0/+19
* Optionally pass in the attribute being validated to an instance method validatorCarl Lerche2011-02-051-0/+4
* Be able to pass a validator method to #validatesCarl Lerche2011-02-051-0/+4
* Provide a way to specify alternate option keys for validatesCarl Lerche2011-02-051-0/+4
* Added ActiveRecord::Base#has_secure_password (via ActiveModel::SecurePassword...David Heinemeier Hansson2010-12-181-0/+8
* No need to pass self as parameter here.José Valim2010-10-041-1/+1
* Test to_model being called in ActiveModel::Naming helpersErnie Miller2010-10-041-0/+7
* Properly interpolate i18n keys in modules [#5572 state:resolved]Rodrigo Rosenfeld Rosas2010-09-241-0/+5
* Better shortcut options for custom validators [#5672 state:resolved]Obie Fernandez2010-09-241-0/+13
* Prepared ActiveModel::Naming to handle cases for namespaced isolated enginesPiotr Sarnacki2010-09-031-0/+13
* after_validation should be called irrespective of the result of validation.Neeraj Singh2010-08-201-0/+9
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-143-4/+3
* Reuse already existing classes for ActiveModel tests.José Valim2010-07-212-0/+5
* mass_assignment_security moved from AR to AMo, and minor test cleanupJosh Kalderimis2010-07-081-0/+57
* validation macros can now be used within an instanceJosh Kalderimis2010-05-131-0/+12
* removed an old unused model in the AMo tests which also removes another AR de...Josh Kalderimis2010-05-091-6/+0
* removed use of AR in AMo tests and removed testing of scopes (:on) in individ...Josh Kalderimis2010-05-082-10/+18
* test cases for record.to_xml [#458 state:resolved]Neeraj Singh2010-04-301-0/+8
* Fix AMo isolated tests.José Valim2010-02-221-1/+1
* Require persisted? in ActiveModel::Lint and remove new_record? and destroyed?...José Valim2010-02-211-3/+3
* Add to_key and to_param methods to ActiveModel::Conversion.José Valim2010-02-211-1/+7
* Fix typo by renaming :genre to :gender.José Valim2010-01-091-1/+1
* Allow validates to map some types to specific options. So now you can do:José Valim2010-01-081-1/+1
* Allow :if, :unless, :on, :allow_nil and :allow_blank as shared options in val...José Valim2010-01-071-0/+4
* Add validates method as shortcut to setup validators for a given set of attri...jamie2010-01-072-2/+11
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-231-1/+1
* Small clean up in Naming and TTranslation tests.José Valim2009-12-232-0/+8
* Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-081-3/+3
* Allow validations to use values from custom readers [#2936 state:resolved]James Hill2009-08-051-0/+17
* Dasherize XML root by default to avoid invalid tags "<admin/posts>...</admin/...Joshua Peek2009-07-221-0/+4
* Initial extraction of AMo xml serializerJoshua Peek2009-07-031-0/+3