method

table_alias_for

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

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

table_alias_for(table_name)
private

No documentation available.

# File activerecord/lib/active_record/associations/alias_tracker.rb, line 83
        def table_alias_for(table_name)
          table_name[0...@table_alias_length].tr(".", "_")
        end