diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-05-25 12:05:50 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-05-28 10:12:15 +0900 |
commit | fe9547b6fb60d92af181c8613166fa4322f8e307 (patch) | |
tree | e09b34beb48e37ea66d5c7df19fd3e7e7db5f531 /activejob/test/cases/rescue_test.rb | |
parent | 17bf62033edd4f0934c9f4a9e0c7a5f0f765975b (diff) | |
download | rails-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 'activejob/test/cases/rescue_test.rb')
0 files changed, 0 insertions, 0 deletions