diff options
-rw-r--r-- | activerecord/lib/active_record/persistence.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb index 2f3fc7bd50..d630f31f5f 100644 --- a/activerecord/lib/active_record/persistence.rb +++ b/activerecord/lib/active_record/persistence.rb @@ -385,7 +385,7 @@ module ActiveRecord @attributes.update(fresh_object.instance_variable_get('@attributes')) @column_types = self.class.column_types - @column_types_override = fresh_object.instance_variable_get('@columns_types_override') + @column_types_override = fresh_object.instance_variable_get('@column_types_override') @attributes_cache = {} self end |