mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
we should always cast the value based on the column
This commit is contained in:
@@ -277,7 +277,7 @@ module ActiveRecord
|
||||
else type_cast_using_column(value, column)
|
||||
end
|
||||
else
|
||||
value
|
||||
type_cast_using_column(value, column)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user