diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-06-11 12:03:01 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-06-11 12:03:01 -0700 |
commit | 3680074b4de40e52a3d304268b83bb9abb76fb1e (patch) | |
tree | eaa49d96c6ee2809272a852e4d16b031e5ff8337 /activerecord | |
parent | bf28422cbda9068afb900020fa6911afd01963e1 (diff) | |
download | rails-3680074b4de40e52a3d304268b83bb9abb76fb1e.tar.gz rails-3680074b4de40e52a3d304268b83bb9abb76fb1e.tar.bz2 rails-3680074b4de40e52a3d304268b83bb9abb76fb1e.zip |
remove unused variable
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) |