aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models
Commit message (Expand)AuthorAgeFilesLines
* Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-312-6/+6
* Fix numericality validator to still use value before type cast except Active ...Ryuta Kamizono2018-08-241-0/+14
* has_secure_password: use `recovery_password` instead of `activation_token`bogdanvlviv2018-07-081-2/+2
* Fix Ruby warnings tickled by the test suiteutilum2018-06-301-1/+2
* Merge pull request #26764 from choncou/improve_has_secure_passwordRafael Mendonça França2018-06-281-1/+2
|\
| * This addition will now allow configuring an attribute name for theUnathi Chonco2016-10-121-1/+2
* | Add cases to test combining validation conditionsbogdanvlviv2017-11-062-1/+5
* | Use frozen string literal in activemodel/Kir Shatrov2017-07-1613-0/+26
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0213-13/+0
* | Enforce frozen string in RubocopKir Shatrov2017-07-0113-0/+13
|/
* Removed deprecated :tokenizer in the length validatorRafael Mendonça França2016-10-101-4/+0
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-064-4/+4
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-1/+1
* Remove unused require and unused model stubJon Moss2016-05-311-3/+0
* Remove XML Serialization from core.Zachary Scott2015-08-071-1/+0
* Merge pull request #16381 from kakipo/validate-length-tokenizerRafael Mendonça França2015-02-131-0/+4
|\
| * Allow symbol as values for `tokenize` of `LengthValidator`kakipo2014-08-031-0/+4
* | Move model definition to test/models for test order indenendencyAkira Matsuda2014-08-281-0/+15
|/
* Merge pull request #15959 from aditya-kapoor/remove-unneeded-casesRafael Mendonça França2014-07-291-13/+0
|\
| * remove unneeded test model for ActiveModel test cases.Aditya Kapoor2014-06-281-13/+0
* | automatically include ActiveModel::Validations when include ActiveModel::Secu...Aditya Kapoor2014-07-032-2/+0
|/
* Fix some validators when used on model instanceEric Hutzelman2014-02-261-1/+2
* Removed old testsGodfrey Chan2014-01-241-11/+0
* Rewrote the tests for has_secure_passwordGodfrey Chan2014-01-242-2/+2
* Unused classes in AMo testsAkira Matsuda2013-12-191-11/+0
* 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