aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/Rakefile
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-06-24 06:55:24 -0600
committerSean Griffin <sean@thoughtbot.com>2014-06-24 08:32:30 -0600
commit50fa366783c2403d909a6fa5b7fc6d4c7fdacf7f (patch)
tree20c9ec3ac39490d6a56c44013bfe92a985c193d0 /actionmailer/Rakefile
parent9ac1ce11ad9ec22157d2e542437c5c5cccaf58fe (diff)
downloadrails-50fa366783c2403d909a6fa5b7fc6d4c7fdacf7f.tar.gz
rails-50fa366783c2403d909a6fa5b7fc6d4c7fdacf7f.tar.bz2
rails-50fa366783c2403d909a6fa5b7fc6d4c7fdacf7f.zip
Always assume strings with non-numeric characters change numeric types
We previously only did this if the old value was zero, to make sure numericality validations run and failed if the user gave 'wibble' as the value, which would be type cast to 0. However, numericality validations will fail if there are any non-numeric characters in the string, so 5 -> '5wibble' should also be marked as changed.
Diffstat (limited to 'actionmailer/Rakefile')
0 files changed, 0 insertions, 0 deletions