method

lookup_table_klass_from_join_dependencies

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
lookup_table_klass_from_join_dependencies(table_name) 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/relation/query_methods.rb, line 1549
      def lookup_table_klass_from_join_dependencies(table_name)
        each_join_dependencies do |join|
          return join.base_klass if table_name == join.table_name
        end
        nil
      end
Register or log in to add new notes.