From 821adfaadf7fe9309d39bb520e7a74f308bbcd8d Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Sun, 22 Jun 2014 14:48:30 -0600 Subject: Remove unneeded `@column_types` instance variable This was used more previously, but other uses have been removed. --- activerecord/lib/active_record/core.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activerecord/lib/active_record/core.rb') diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index f444a32d74..10b9e27b7d 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -254,7 +254,6 @@ module ActiveRecord end @attributes = self.class.attributes_builder.build_from_database(defaults) - @column_types = self.class.column_types init_internals initialize_internals_callback @@ -280,7 +279,6 @@ module ActiveRecord # post.title # => 'hello world' def init_with(coder) @attributes = coder['attributes'] - @column_types = self.class.column_types init_internals -- cgit v1.2.3