Permalink
Browse files

@base_klass is not used

  • Loading branch information...
1 parent fadb6d9 commit 6546cf2632ebe181bd302b5b98755094d93c2ae9 @tenderlove tenderlove committed Oct 21, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/associations/join_dependency.rb
@@ -52,7 +52,6 @@ def self.walk_tree(associations, hash)
# joins #=> []
#
def initialize(base, associations, joins)
- @base_klass = base
@join_root = JoinBase.new(base)
@alias_tracker = AliasTracker.new(base.connection, joins)
@alias_tracker.aliased_name_for(base.table_name) # Updates the count for base.table_name to 1

0 comments on commit 6546cf2

Please sign in to comment.