aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/attributes.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-05-25 12:05:50 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-05-28 10:12:15 +0900
commitfe9547b6fb60d92af181c8613166fa4322f8e307 (patch)
treee09b34beb48e37ea66d5c7df19fd3e7e7db5f531 /activemodel/lib/active_model/attributes.rb
parent17bf62033edd4f0934c9f4a9e0c7a5f0f765975b (diff)
downloadrails-fe9547b6fb60d92af181c8613166fa4322f8e307.tar.gz
rails-fe9547b6fb60d92af181c8613166fa4322f8e307.tar.bz2
rails-fe9547b6fb60d92af181c8613166fa4322f8e307.zip
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.
Diffstat (limited to 'activemodel/lib/active_model/attributes.rb')
0 files changed, 0 insertions, 0 deletions