diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-05-29 13:34:23 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-05-29 13:34:47 -0700 |
commit | 912904caee1e037e2f71d6ede35a3758c15f276d (patch) | |
tree | 2384c2a13db76ae767f96e114870178fb93debb1 /activerecord/lib/active_record/connection_adapters/column.rb | |
parent | 214423f40171bf7d3165d70507ab17803b2fbf07 (diff) | |
download | rails-912904caee1e037e2f71d6ede35a3758c15f276d.tar.gz rails-912904caee1e037e2f71d6ede35a3758c15f276d.tar.bz2 rails-912904caee1e037e2f71d6ede35a3758c15f276d.zip |
Move `type_cast_for_write` behavior over to the serialized type object
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/column.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/column.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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. |