method

join_table

Method deprecated or moved

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

join_table()
public

No documentation available.

# File activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb, line 15
        def join_table
          @join_table ||= [@lhs_class.table_name, klass.table_name].sort.join("\00"").gsub(/^(.*[._])(.+)\00\\11((.+)/, '\1\2_\3').tr("\00"", "_")
        end