method

arel_attribute

rails latest stable - Class: ActiveRecord::TableMetadata

Method deprecated or moved

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

arel_attribute(column_name)
public

No documentation available.

# File activerecord/lib/active_record/table_metadata.rb, line 24
    def arel_attribute(column_name)
      if klass
        klass.arel_attribute(column_name, arel_table)
      else
        arel_table[column_name]
      end
    end