method

column_for

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.

column_for(table_name, column_name, alias_tracker)
private

No documentation available.

# File activerecord/lib/active_record/associations/association_scope.rb, line 84
      def column_for(table_name, column_name, alias_tracker)
        columns = alias_tracker.connection.schema_cache.columns_hash(table_name)
        columns[column_name]
      end