aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/core.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-06-22 14:48:30 -0600
committerSean Griffin <sean@thoughtbot.com>2014-06-22 14:57:11 -0600
commit821adfaadf7fe9309d39bb520e7a74f308bbcd8d (patch)
tree32cf2317145a55967bd31c6c76cf855573ae1b5c /activerecord/lib/active_record/core.rb
parentb663869940e642b06c903eba2eb2b362585ed194 (diff)
downloadrails-821adfaadf7fe9309d39bb520e7a74f308bbcd8d.tar.gz
rails-821adfaadf7fe9309d39bb520e7a74f308bbcd8d.tar.bz2
rails-821adfaadf7fe9309d39bb520e7a74f308bbcd8d.zip
Remove unneeded `@column_types` instance variable
This was used more previously, but other uses have been removed.
Diffstat (limited to 'activerecord/lib/active_record/core.rb')
-rw-r--r--activerecord/lib/active_record/core.rb2
1 files changed, 0 insertions, 2 deletions
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