From 912904caee1e037e2f71d6ede35a3758c15f276d Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Thu, 29 May 2014 13:34:23 -0700 Subject: Move `type_cast_for_write` behavior over to the serialized type object --- activerecord/lib/active_record/connection_adapters/column.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib/active_record/connection_adapters/column.rb') diff --git a/activerecord/lib/active_record/connection_adapters/column.rb b/activerecord/lib/active_record/connection_adapters/column.rb index 42650e332d..f66e99c9d1 100644 --- a/activerecord/lib/active_record/connection_adapters/column.rb +++ b/activerecord/lib/active_record/connection_adapters/column.rb @@ -17,7 +17,7 @@ module ActiveRecord delegate :type, :precision, :scale, :limit, :klass, :accessor, :text?, :number?, :binary?, :serialized?, - :type_cast, :type_cast_for_write, :type_cast_for_database, + :type_cast, :type_cast_for_write, :raw_type_cast_for_write, :type_cast_for_database, to: :cast_type # Instantiates a new column in the table. -- cgit v1.2.3