From 423f3b8dc1b659be43cf1990d8c6b405e2904c2f Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Thu, 12 Sep 2013 08:05:39 -0300 Subject: Fix typo on instance variable get call --- activerecord/lib/active_record/persistence.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib') 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 -- cgit v1.2.3