aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-06-11 12:03:01 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-06-11 12:03:01 -0700
commit3680074b4de40e52a3d304268b83bb9abb76fb1e (patch)
treeeaa49d96c6ee2809272a852e4d16b031e5ff8337 /activerecord/lib/active_record
parentbf28422cbda9068afb900020fa6911afd01963e1 (diff)
downloadrails-3680074b4de40e52a3d304268b83bb9abb76fb1e.tar.gz
rails-3680074b4de40e52a3d304268b83bb9abb76fb1e.tar.bz2
rails-3680074b4de40e52a3d304268b83bb9abb76fb1e.zip
remove unused variable
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/associations/builder/belongs_to.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/builder/belongs_to.rb b/activerecord/lib/active_record/associations/builder/belongs_to.rb
index 783f4e857a..6b364cdb7f 100644
--- a/activerecord/lib/active_record/associations/builder/belongs_to.rb
+++ b/activerecord/lib/active_record/associations/builder/belongs_to.rb
@@ -50,7 +50,6 @@ module ActiveRecord::Associations::Builder
def belongs_to_counter_cache_after_update(association, reflection)
foreign_key = reflection.foreign_key
- name = association.name
cache_column = reflection.counter_cache_column
if (@_after_create_counter_called ||= false)