1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib/active_model/validations
Ryuta Kamizono fe9547b6fb Parse raw value only when a value came from user in numericality validator
Since `parse_raw_value_as_a_number` may not always parse raw value from
database as a number without type casting (e.g. "$150.55" as money
format).

Fixes #32531.
2018-05-28 10:12:15 +09:00
..
absence.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
acceptance.rb Rails 6 requires Ruby 2.3+ 2018-02-17 10:03:37 -08:00
callbacks.rb Refactor to Array(options[:on]) only once in defining validations 2018-01-01 06:18:39 +09:00
clusivity.rb Rails 6 requires Ruby 2.3+ 2018-02-17 10:03:37 -08:00
confirmation.rb Execute ConfirmationValidator validation when _confirmation's value is false 2017-11-05 19:24:49 +00:00
exclusion.rb [Active Model] require => require_relative 2017-10-21 22:48:27 +09:00
format.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
helper_methods.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
inclusion.rb Update validates_inclusion_of example 2018-04-17 21:16:33 -04:00
length.rb Allow passing a Proc or Symbol as an argument to length validator values 2017-10-26 10:01:06 +02:00
numericality.rb Parse raw value only when a value came from user in numericality validator 2018-05-28 10:12:15 +09:00
presence.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
validates.rb Use string-based fields. [ci skip] 2018-04-16 19:09:45 -04:00
with.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00