aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations/numericality.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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
* 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
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Fix regression in Numericality validator where extra decimal places on Bradley Priest2017-05-271-1/+3
* Fix regexp in the doc [ci skip]Ryuta Kamizono2017-04-241-1/+1
* 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-151-1/+1
* Privatize unneededly protected methods in Active ModelAkira Matsuda2016-12-241-12/+10
* validate_each in NumericalityValidator is never called in this case.Guillermo Iguaran2016-08-281-2/+0
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-4/+4
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* Convert non-`Numeric` values to FloatsRobert Eshleman2015-12-221-1/+1
* Fix Regression in Numericality ValidationsRobert Eshleman2015-12-221-2/+9
* Conditionally convert the raw_value received by the numeric validator.Roque Pinel2015-07-111-12/+11
* Ensure numericality validations work with mutationSean Griffin2014-12-011-0/+11
* Disallow appended newlines when parsing as integerMichael Genereux2014-10-021-1/+1
* `only_integer` of `NumericalityValidator` now allows procs and symbolsRobin Mehner2014-06-221-1/+13
* revises references to :allow_(nil|blank) in some docs [ci skip] [Steven Yang ...Xavier Noria2014-01-261-1/+1
* Make code simpler to read by using a case statementCarlos Antonio da Silva2013-11-151-2/+6
* Avoid a new hash allocationCarlos Antonio da Silva2013-11-151-1/+1
* Use a simple conditional rather than short circuit with nextCarlos Antonio da Silva2013-11-151-2/+3
* Simplify number parsing logic in numericality validationCarlos Antonio da Silva2013-11-151-10/+3
* Avoid creation of extra hash with merge just to set a valueCarlos Antonio da Silva2013-11-151-1/+3
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-5/+5
* Reduce number of Strings a bitAkira Matsuda2013-01-071-2/+2
* minor edits and remove mixed titles in AM::Validations docs [ci skip]Francesco Rodriguez2012-10-251-2/+1
* minor edits in AM documentation [ci skip]Francesco Rodriguez2012-10-211-2/+2
* AM::Validations: remove documentation duplicatesBogdan Gusiev2012-07-101-14/+4
* update ActiveModel::Validations::HelperMethods documentation [ci skip]Francesco Rodriguez2012-07-051-24/+26
* add :nodoc: to internal implementations [ci skip]Francesco Rodriguez2012-06-251-1/+1
* fixing removed empty lines and examplesFrancesco Rodriguez2012-05-161-0/+1
* better format and fixes to validators docsFrancesco Rodriguez2012-05-161-19/+32
* added :other_than => :!= option to numericality validatorJakub Kuźma2011-12-211-2/+3
* Implemented strict validation conceptBogdan Gusiev2011-08-171-0/+2
* Remove extra white spaces on ActiveModel docs.Sebastian Martinez2011-05-231-2/+2
* Remove unneeded merge with default false optionsAkira Matsuda2011-05-161-4/+0
* copy-edits 8d96b89Xavier Noria2011-02-211-1/+3
* Clarification of ActiveRecord ActiveModel validation documentationPeer Allan2011-02-181-1/+1
* Don't compute this string againSantiago Pastorino2010-12-021-1/+1