method
table_alias_for
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveRecord::Associations::ClassMethods::JoinDependency::JoinAssociation
table_alias_for(table_name, table_alias)
protected
Hide source
# File activerecord/lib/active_record/associations.rb, line 2279 def table_alias_for(table_name, table_alias) "#{table_name} #{table_alias if table_name != table_alias}".strip end