method
table_alias_for
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::Associations::JoinDependency
table_alias_for(reflection, parent, join)private
No documentation available.
# File activerecord/lib/active_record/associations/join_dependency.rb, line 214
def table_alias_for(reflection, parent, join)
name = "#{reflection.plural_name}_#{parent.table_name}"
name << "_join" if join
name
end