method

construct_tables

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: AssociationScope
construct_tables(chain, klass, refl, alias_tracker) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/associations/association_scope.rb, line 27
      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
Register or log in to add new notes.