1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

we should always cast the value based on the column

This commit is contained in:
Aaron Patterson 2010-10-11 13:35:58 -07:00
parent bef5b826e3
commit cecccf1156

View file

@ -277,7 +277,7 @@ module ActiveRecord
else type_cast_using_column(value, column) else type_cast_using_column(value, column)
end end
else else
value type_cast_using_column(value, column)
end end
end end