diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations/builder/belongs_to.rb | 1 |
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) |