aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/persistence.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/persistence.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/persistence.rb')
-rw-r--r--activerecord/lib/active_record/persistence.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb
index 86cc928644..ee634d7bb3 100644
--- a/activerecord/lib/active_record/persistence.rb
+++ b/activerecord/lib/active_record/persistence.rb
@@ -396,8 +396,6 @@ module ActiveRecord
end
@attributes = fresh_object.instance_variable_get('@attributes')
-
- @column_types = self.class.column_types
self
end