method

construct_tables

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

Method deprecated or moved

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

construct_tables(chain, klass, refl, alias_tracker)
private

No documentation available.

# File activerecord/lib/active_record/associations/association_scope.rb, line 65
      def construct_tables(chain, klass, refl, alias_tracker)
        chain.map do |reflection|
          alias_tracker.aliased_table_for(
            table_name_for(reflection, klass, refl),
            table_alias_for(reflection, refl, reflection != refl)
          )
        end
      end