method

table_alias_for

rails latest stable - Class: ActiveRecord::Associations::JoinDependency

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

table_alias_for(reflection, parent, join)
private

No documentation available.

# File activerecord/lib/active_record/associations/join_dependency.rb, line 172
        def table_alias_for(reflection, parent, join)
          name = reflection.alias_candidate(parent.table_name)
          join ? "#{name}_join" : name
        end