aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-136-6/+0
* activemodel typo fixes.alkesh262019-01-311-1/+1
* Add missing require for `Float#to_d`yuuji.yaginuma2019-01-261-0/+2
* Fix NumericalityValidator on object responding to `to_f`:Edouard CHIN2019-01-221-8/+3
* Module#{attr,attr_accessor,attr_reader,attr_writer} become public since Ruby 2.5Ryuta Kamizono2018-12-212-4/+4
* Prevent infinit method_missing loop on attribute methodsRyuta Kamizono2018-12-151-0/+1
* Merge pull request #34693 from ahorek/matchRyuta Kamizono2018-12-131-3/+3
|\
| * use match?pavel2018-12-121-3/+3
|/
* Fix numericality equality validation on floatsGannon McGibbon2018-12-121-10/+22
* Do not use deprecated Object#!~ in Ruby 2.6Rafael Mendonça França2018-11-261-1/+5
* 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