aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations
Commit message (Expand)AuthorAgeFilesLines
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-1/+1
* Fix numericality validator to still use value before type cast except Active ...Ryuta Kamizono2018-08-241-4/+11
* Fix numericality validator not to be affected by custom getterRyuta Kamizono2018-08-131-0/+2
* Parse raw value only when a value came from user in numericality validatorRyuta Kamizono2018-05-281-2/+4
* Update validates_inclusion_of exampleCassidy Kobewka2018-04-171-1/+1
* Use string-based fields. [ci skip]Cassidy Kobewka2018-04-161-1/+1
* Inclusive Language in Documentation Examples [ci skip]Cassidy Kobewka2018-04-151-1/+1
* Rails 6 requires Ruby 2.3+Jeremy Daer2018-02-172-7/+2
* Refactor to `Array(options[:on])` only once in defining validationsRyuta Kamizono2018-01-011-8/+10
* Fix validation callbacks on multiple contextYoshiyuki Hirano2017-12-201-9/+13
* Update validates.rbLonre Wang2017-12-101-1/+1
* Execute `ConfirmationValidator` validation when `_confirmation`'s value is `f...bogdanvlviv2017-11-051-1/+1
* Allow passing a Proc or Symbol as an argument to length validator valuesMatt Rohrer2017-10-261-2/+8
* [Active Model] require => require_relativeAkira Matsuda2017-10-212-2/+2
* Use frozen string literal in activemodel/Kir Shatrov2017-07-1614-0/+28
* [Active Model] require => require_relativeAkira Matsuda2017-07-012-2/+2
* Fix regression in Numericality validator where extra decimal places on Bradley Priest2017-05-271-1/+3
* remove uniqueness validators from ActiveModel examplesstve2017-05-021-3/+2
* Fix regexp in the doc [ci skip]Ryuta Kamizono2017-04-241-1/+1
* :scissors:Ryuta Kamizono2017-04-132-2/+0
* Avoid converting integer as a string into floatnamusyaka2017-02-181-0/+1
* Remove `:doc:` for `NumericalityValidator` [ci skip]Ryuta Kamizono2017-02-171-5/+5
* change ActiveModel::Validation to ActiveModel::Validations in commentsSen Zhang2017-02-1510-10/+10
* Remove unused requireRyuta Kamizono2017-02-121-2/+0
* Remove deprecated behavior that halts callbacks when the return is falseRafael Mendonça França2017-02-071-1/+0
* Privatize unneededly protected methods in Active ModelAkira Matsuda2016-12-243-17/+15
* Describe what we are protectingAkira Matsuda2016-12-231-0/+2
* Merge pull request #26905 from bogdanvlviv/docsAndrew White2016-11-132-2/+2
|\
| * Add missing `+` around a some literals.bogdanvlviv2016-10-272-2/+2
* | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-292-2/+2
* | let Regexp#match? be globally availableXavier Noria2016-10-271-1/+0
|/
* Missing require extract_optionsAkira Matsuda2016-10-251-0/+2
* Removed deprecated :tokenizer in the length validatorRafael Mendonça França2016-10-101-34/+1
* validate_each in NumericalityValidator is never called in this case.Guillermo Iguaran2016-08-281-2/+0
* revises most Lint/EndAlignment offensesXavier Noria2016-08-071-5/+5
* applies remaining conventions across the projectXavier Noria2016-08-067-7/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-066-91/+91
* applies new string literal convention in activemodel/libXavier Noria2016-08-065-6/+6
* systematic revision of =~ usage in AMoXavier Noria2016-07-241-2/+3
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* - removing redundant 'happens' in documentation [ci skip]Mohit Natoo2016-05-191-4/+2
* Chomp: prefer String#chomp where we can for a clarity boostlvl0nax2016-04-291-5/+1
* fix length validation error typoPareshGupta2016-04-071-1/+1
* Use Range#cover? for Date inclusion validatorojab2016-03-241-3/+4
* Convert non-`Numeric` values to FloatsRobert Eshleman2015-12-221-1/+1
* Fix Regression in Numericality ValidationsRobert Eshleman2015-12-221-2/+9
* Merge pull request #19851 from repinel/numericality-validation2Sean Griffin2015-10-201-12/+11
|\
| * Conditionally convert the raw_value received by the numeric validator.Roque Pinel2015-07-111-12/+11
* | `validates_acceptance_of` shouldn't require a database connectionSean Griffin2015-09-251-4/+51
* | Fix the AS::Callbacks terminator regression from 4.2.3Roque Pinel2015-09-221-0/+1