Method: ActiveRecord::Associations::AliasTracker#initialize

Defined in:
activerecord/lib/active_record/associations/alias_tracker.rb

#initialize(table_alias_length, aliases) ⇒ AliasTracker

table_joins is an array of arel joins which might conflict with the aliases we assign here



53
54
55
56
# File 'activerecord/lib/active_record/associations/alias_tracker.rb', line 53

def initialize(table_alias_length, aliases)
  @aliases = aliases
  @table_alias_length = table_alias_length
end