1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Tristan Harward 807e176aba Fix error when assigning NaN to an integer column
Also covers any non-castable case by returning nil, which
is in-line with the intention of the former implementation,
but covers the odd cases which respond to to_i but raise
an error when it's called, such as NaN, Infinity and -Infinity.

Fixes #8757
2013-01-06 16:09:40 -05:00
..
active_record Fix error when assigning NaN to an integer column 2013-01-06 16:09:40 -05:00
rails/generators Migration generators use change even for destructive methods [#8267] 2012-12-21 13:54:52 -05:00
active_record.rb Updated copyright notices for 2013 2012-12-31 20:35:29 +00:00