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
/
lib
/
active_model
/
validations
/
numericality.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Add missing require for `Float#to_d`
yuuji.yaginuma
2019-01-26
1
-0
/
+2
*
Fix NumericalityValidator on object responding to `to_f`:
Edouard CHIN
2019-01-22
1
-8
/
+3
*
Merge pull request #34693 from ahorek/match
Ryuta Kamizono
2018-12-13
1
-3
/
+3
|
\
|
*
use match?
pavel
2018-12-12
1
-3
/
+3
|
/
*
Fix numericality equality validation on floats
Gannon McGibbon
2018-12-12
1
-10
/
+22
*
Do not use deprecated Object#!~ in Ruby 2.6
Rafael Mendonça França
2018-11-26
1
-1
/
+5
*
Fix numericality validator to still use value before type cast except Active ...
Ryuta Kamizono
2018-08-24
1
-4
/
+11
*
Fix numericality validator not to be affected by custom getter
Ryuta Kamizono
2018-08-13
1
-0
/
+2
*
Parse raw value only when a value came from user in numericality validator
Ryuta Kamizono
2018-05-28
1
-2
/
+4
*
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
*
Fix regression in Numericality validator where extra decimal places on
Bradley Priest
2017-05-27
1
-1
/
+3
*
Fix regexp in the doc [ci skip]
Ryuta Kamizono
2017-04-24
1
-1
/
+1
*
Avoid converting integer as a string into float
namusyaka
2017-02-18
1
-0
/
+1
*
Remove `:doc:` for `NumericalityValidator` [ci skip]
Ryuta Kamizono
2017-02-17
1
-5
/
+5
*
change ActiveModel::Validation to ActiveModel::Validations in comments
Sen Zhang
2017-02-15
1
-1
/
+1
*
Privatize unneededly protected methods in Active Model
Akira Matsuda
2016-12-24
1
-12
/
+10
*
validate_each in NumericalityValidator is never called in this case.
Guillermo Iguaran
2016-08-28
1
-2
/
+0
*
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
-4
/
+4
*
Support for unified Integer class in Ruby 2.4+
Jeremy Daer
2016-05-18
1
-1
/
+1
*
Convert non-`Numeric` values to Floats
Robert Eshleman
2015-12-22
1
-1
/
+1
*
Fix Regression in Numericality Validations
Robert Eshleman
2015-12-22
1
-2
/
+9
*
Conditionally convert the raw_value received by the numeric validator.
Roque Pinel
2015-07-11
1
-12
/
+11
*
Ensure numericality validations work with mutation
Sean Griffin
2014-12-01
1
-0
/
+11
*
Disallow appended newlines when parsing as integer
Michael Genereux
2014-10-02
1
-1
/
+1
*
`only_integer` of `NumericalityValidator` now allows procs and symbols
Robin Mehner
2014-06-22
1
-1
/
+13
*
revises references to :allow_(nil|blank) in some docs [ci skip] [Steven Yang ...
Xavier Noria
2014-01-26
1
-1
/
+1
*
Make code simpler to read by using a case statement
Carlos Antonio da Silva
2013-11-15
1
-2
/
+6
*
Avoid a new hash allocation
Carlos Antonio da Silva
2013-11-15
1
-1
/
+1
*
Use a simple conditional rather than short circuit with next
Carlos Antonio da Silva
2013-11-15
1
-2
/
+3
*
Simplify number parsing logic in numericality validation
Carlos Antonio da Silva
2013-11-15
1
-10
/
+3
*
Avoid creation of extra hash with merge just to set a value
Carlos Antonio da Silva
2013-11-15
1
-1
/
+3
*
Convert ActiveModel to 1.9 hash syntax.
Patrick Robertson
2013-05-01
1
-5
/
+5
*
Reduce number of Strings a bit
Akira Matsuda
2013-01-07
1
-2
/
+2
*
minor edits and remove mixed titles in AM::Validations docs [ci skip]
Francesco Rodriguez
2012-10-25
1
-2
/
+1
*
minor edits in AM documentation [ci skip]
Francesco Rodriguez
2012-10-21
1
-2
/
+2
*
AM::Validations: remove documentation duplicates
Bogdan Gusiev
2012-07-10
1
-14
/
+4
*
update ActiveModel::Validations::HelperMethods documentation [ci skip]
Francesco Rodriguez
2012-07-05
1
-24
/
+26
*
add :nodoc: to internal implementations [ci skip]
Francesco Rodriguez
2012-06-25
1
-1
/
+1
*
fixing removed empty lines and examples
Francesco Rodriguez
2012-05-16
1
-0
/
+1
*
better format and fixes to validators docs
Francesco Rodriguez
2012-05-16
1
-19
/
+32
*
added :other_than => :!= option to numericality validator
Jakub Kuźma
2011-12-21
1
-2
/
+3
*
Implemented strict validation concept
Bogdan Gusiev
2011-08-17
1
-0
/
+2
*
Remove extra white spaces on ActiveModel docs.
Sebastian Martinez
2011-05-23
1
-2
/
+2
*
Remove unneeded merge with default false options
Akira Matsuda
2011-05-16
1
-4
/
+0
*
copy-edits 8d96b89
Xavier Noria
2011-02-21
1
-1
/
+3
*
Clarification of ActiveRecord ActiveModel validation documentation
Peer Allan
2011-02-18
1
-1
/
+1
*
Don't compute this string again
Santiago Pastorino
2010-12-02
1
-1
/
+1
[next]