method

table_alias_for

Method deprecated or moved

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

table_alias_for(table_name, table_alias)
protected

No documentation available.

# 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