index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activemodel
/
test
/
cases
/
validations
/
numericality_validation_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
activemodel typo fixes.
alkesh26
2019-01-31
1
-1
/
+1
*
Fix NumericalityValidator on object responding to `to_f`:
Edouard CHIN
2019-01-22
1
-0
/
+13
*
Module#{define_method,alias_method,undef_method,remove_method} become public ...
Ryuta Kamizono
2018-12-21
1
-5
/
+5
*
Fix numericality equality validation on floats
Gannon McGibbon
2018-12-12
1
-0
/
+7
*
Fix numericality validator to still use value before type cast except Active ...
Ryuta Kamizono
2018-08-24
1
-0
/
+10
*
Use assert_predicate and assert_not_predicate
Daniel Colson
2018-01-25
1
-5
/
+5
*
Suppress `warning: BigDecimal.new is deprecated` in Active Model
Yasuo Honda
2017-12-14
1
-14
/
+14
*
Add cases to test combining validation conditions
bogdanvlviv
2017-11-06
1
-1
/
+1
*
Use frozen string literal in activemodel/
Kir Shatrov
2017-07-16
1
-0
/
+2
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
Avoid converting integer as a string into float
namusyaka
2017-02-18
1
-0
/
+9
*
Do not rely on Ruby implementation in AM test
Kir Shatrov
2016-11-19
1
-3
/
+3
*
Add more rubocop rules about whitespaces
Rafael Mendonça França
2016-10-29
1
-1
/
+1
*
Add test for allow_blank in numericality validation
Nicolai Reuschling
2016-08-28
1
-0
/
+7
*
Add three new rubocop rules
Rafael Mendonça França
2016-08-16
1
-5
/
+5
*
applies remaining conventions across the project
Xavier Noria
2016-08-06
1
-1
/
+0
*
normalizes indentation and whitespace across the project
Xavier Noria
2016-08-06
1
-17
/
+17
*
applies new string literal convention in activemodel/test
Xavier Noria
2016-08-06
1
-39
/
+39
*
Failing Tests for Validating String Numbericality
Robert Eshleman
2015-12-22
1
-0
/
+42
*
Really fix test failures caused by #19851
Sean Griffin
2015-10-20
1
-5
/
+6
*
Fix test failures caused by #19851
Sean Griffin
2015-10-20
1
-5
/
+5
*
Conditionally convert the raw_value received by the numeric validator.
Roque Pinel
2015-07-11
1
-1
/
+36
*
Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...
Vipul A M
2015-02-03
1
-1
/
+0
*
Pass symbol as an argument instead of a block
Erik Michaels-Ober
2014-11-29
1
-2
/
+2
*
`only_integer` of `NumericalityValidator` now allows procs and symbols
Robin Mehner
2014-06-22
1
-0
/
+15
*
Completely remove potential global state leaks in ActiveModel tests.
Zuhao Wan
2014-03-11
1
-0
/
+2
*
Use the new clear_validators! api to reset validators in tests
Carlos Antonio da Silva
2014-01-27
1
-2
/
+2
*
Convert ActiveModel to 1.9 hash syntax.
Patrick Robertson
2013-05-01
1
-23
/
+23
*
added :other_than => :!= option to numericality validator
Jakub Kuźma
2011-12-21
1
-0
/
+7
*
Active Model typos.
R.T. Lechow
2011-03-05
1
-1
/
+1
*
Missing BigDecimal dependency
Jeremy Kemper
2010-06-27
1
-0
/
+2
*
Add a valid hex that shouldn't be valid to ActiveModel numericality tests [#4...
rohit
2010-05-18
1
-1
/
+1
*
Valid hex strings aren't valid float column values, to match the integer rest...
Jeremy Kemper
2010-05-17
1
-1
/
+1
*
removed AR from all AMo tests, including any unneeded files (schema, fixtures...
Josh Kalderimis
2010-05-09
1
-2
/
+0
*
removed an old unused model in the AMo tests which also removes another AR de...
Josh Kalderimis
2010-05-09
1
-1
/
+0
*
removed use of AR in AMo tests and removed testing of scopes (:on) in individ...
Josh Kalderimis
2010-05-08
1
-5
/
+5
*
Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...
Lawrence Pit
2010-05-03
1
-2
/
+2
*
Fix typos and add tests to ensure they will be caught the next time.
José Valim
2010-01-11
1
-0
/
+8
*
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...
José Valim
2009-12-23
1
-29
/
+12
*
added proc and symbol support to validates_numericality_of [#3049 state:resol...
Kane
2009-08-31
1
-0
/
+18
*
Add ActiveModel::Validations tests for regular ruby classes
Pratik Naik
2009-03-20
1
-18
/
+34
*
Deprecate Error#on(attribute) in favour of Errors#[attribute]
Pratik Naik
2009-03-20
1
-2
/
+2
*
TestDatabase -> TestsDatabase
Pratik Naik
2009-03-20
1
-2
/
+2
*
Move relevant validation tests from Active Record to Active Model
Pratik Naik
2009-03-20
1
-0
/
+163