aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/type/helpers')
-rw-r--r--activerecord/lib/active_record/type/helpers/mutable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/type/helpers/mutable.rb b/activerecord/lib/active_record/type/helpers/mutable.rb
index dc37f4a885..9af39aa9fb 100644
--- a/activerecord/lib/active_record/type/helpers/mutable.rb
+++ b/activerecord/lib/active_record/type/helpers/mutable.rb
@@ -3,7 +3,7 @@ module ActiveRecord
module Helpers
module Mutable # :nodoc:
def type_cast_from_user(value)
- type_cast_from_database(type_cast_for_database(value))
+ deserialize(type_cast_for_database(value))
end
# +raw_old_value+ will be the `_before_type_cast` version of the