aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/numericality_validation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert "No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29f"Rafael Mendonça França2019-08-021-1/+1
* No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29fAkira Matsuda2019-08-021-1/+1
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* activemodel typo fixes.alkesh262019-01-311-1/+1
* Fix NumericalityValidator on object responding to `to_f`:Edouard CHIN2019-01-221-0/+13
* Module#{define_method,alias_method,undef_method,remove_method} become public ...Ryuta Kamizono2018-12-211-5/+5
* Fix numericality equality validation on floatsGannon McGibbon2018-12-121-0/+7
* Fix numericality validator to still use value before type cast except Active ...Ryuta Kamizono2018-08-241-0/+10
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-5/+5
* Suppress `warning: BigDecimal.new is deprecated` in Active ModelYasuo Honda2017-12-141-14/+14
* Add cases to test combining validation conditionsbogdanvlviv2017-11-061-1/+1
* 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
* Avoid converting integer as a string into floatnamusyaka2017-02-181-0/+9
* Do not rely on Ruby implementation in AM testKir Shatrov2016-11-191-3/+3
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Add test for allow_blank in numericality validationNicolai Reuschling2016-08-281-0/+7
* Add three new rubocop rulesRafael Mendonça França2016-08-161-5/+5
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-17/+17
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-39/+39
* Failing Tests for Validating String NumbericalityRobert Eshleman2015-12-221-0/+42
* Really fix test failures caused by #19851Sean Griffin2015-10-201-5/+6
* Fix test failures caused by #19851Sean Griffin2015-10-201-5/+5
* Conditionally convert the raw_value received by the numeric validator.Roque Pinel2015-07-111-1/+36
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-2/+2
* `only_integer` of `NumericalityValidator` now allows procs and symbolsRobin Mehner2014-06-221-0/+15
* Completely remove potential global state leaks in ActiveModel tests.Zuhao Wan2014-03-111-0/+2
* Use the new clear_validators! api to reset validators in testsCarlos Antonio da Silva2014-01-271-2/+2
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-23/+23
* added :other_than => :!= option to numericality validatorJakub Kuźma2011-12-211-0/+7
* Active Model typos.R.T. Lechow2011-03-051-1/+1
* Missing BigDecimal dependencyJeremy Kemper2010-06-271-0/+2
* Add a valid hex that shouldn't be valid to ActiveModel numericality tests [#4...rohit2010-05-181-1/+1
* Valid hex strings aren't valid float column values, to match the integer rest...Jeremy Kemper2010-05-171-1/+1
* removed AR from all AMo tests, including any unneeded files (schema, fixtures...Josh Kalderimis2010-05-091-2/+0
* removed an old unused model in the AMo tests which also removes another AR de...Josh Kalderimis2010-05-091-1/+0
* removed use of AR in AMo tests and removed testing of scopes (:on) in individ...Josh Kalderimis2010-05-081-5/+5
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...Lawrence Pit2010-05-031-2/+2
* Fix typos and add tests to ensure they will be caught the next time.José Valim2010-01-111-0/+8
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-231-29/+12
* added proc and symbol support to validates_numericality_of [#3049 state:resol...Kane2009-08-311-0/+18
* Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-201-18/+34
* Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-201-2/+2
* TestDatabase -> TestsDatabasePratik Naik2009-03-201-2/+2
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+163