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:
parent
bef5b826e3
commit
cecccf1156
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue