aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations
Commit message (Expand)AuthorAgeFilesLines
* 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
* | AMo typosAkira Matsuda2015-09-221-2/+2
* | Fix failure introduced by #17351 due to the new mocks implementationCarlos Antonio da Silva2015-09-011-1/+1
* | Fix syntax error introduced by #17351.Jashank Jeremy2015-09-011-1/+1
* | Merge pull request #17351 from akshat-sharma/masterRafael Mendonça França2015-09-011-4/+16
|\ \
| * | Add case_sensitive option for confirmation validationAkshat Sharma2015-09-011-4/+16
* | | Freeze string literals when not mutated.schneems2015-07-191-1/+1
* | | Revert "Revert "Reduce allocations when running AR callbacks.""Guo Xiang Tan2015-07-161-1/+1
| |/ |/|
* | Separate the constraint and other options [ci skip]Robin Dupret2015-07-011-3/+8
* | Improve Validation Helpers' documentation comments and testsRadan Skoric2015-06-273-7/+10