Permalink
Browse files

remove unused variable

  • Loading branch information...
1 parent bf28422 commit 3680074b4de40e52a3d304268b83bb9abb76fb1e @tenderlove tenderlove committed Jun 11, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/associations/builder/belongs_to.rb
@@ -50,7 +50,6 @@ def belongs_to_counter_cache_before_destroy(association, reflection)
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)

0 comments on commit 3680074

Please sign in to comment.