diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-06-10 11:17:09 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-06-13 13:34:31 -0600 |
commit | ea6f28c8a114396376bafe26e1af5d2ca3df6fdb (patch) | |
tree | 9b3a3603f95333a3ad9660173bc1673ed2c0b8f7 /activerecord/lib/active_record/core.rb | |
parent | 584498a61f56211871698a1db67dd9626c3cadfe (diff) | |
download | rails-ea6f28c8a114396376bafe26e1af5d2ca3df6fdb.tar.gz rails-ea6f28c8a114396376bafe26e1af5d2ca3df6fdb.tar.bz2 rails-ea6f28c8a114396376bafe26e1af5d2ca3df6fdb.zip |
Remove unused column types override
Diffstat (limited to 'activerecord/lib/active_record/core.rb')
-rw-r--r-- | activerecord/lib/active_record/core.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index 6c089b243e..d39e5fddfe 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -256,7 +256,6 @@ module ActiveRecord end @attributes = defaults - @column_types_override = nil @column_types = self.class.column_types init_internals @@ -283,7 +282,6 @@ module ActiveRecord # post.title # => 'hello world' def init_with(coder) @attributes = coder['attributes'] - @column_types_override = coder['column_types'] @column_types = self.class.column_types init_internals @@ -357,7 +355,6 @@ module ActiveRecord # FIXME: Remove this when we better serialize attributes coder['raw_attributes'] = attributes_before_type_cast coder['attributes'] = @attributes - coder['column_types'] = @column_types_override coder['new_record'] = new_record? end |