From 3680074b4de40e52a3d304268b83bb9abb76fb1e Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 11 Jun 2013 12:03:01 -0700 Subject: remove unused variable --- activerecord/lib/active_record/associations/builder/belongs_to.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord/lib/active_record') 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) -- cgit v1.2.3