123456789_123456789_123456789_123456789_123456789_

Module: ActiveRecord::Attributes

Relationships & Source Files
Namespace Children
Modules:
Extension / Inclusion / Inheritance Descendants
Included In:
Base, ActiveRecord::InternalMetadata, ActiveRecord::SchemaMigration
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: activerecord/lib/active_record/attributes.rb

Overview

See ClassMethods for documentation

Class Method Summary

::ActiveSupport::Concern - Extended

class_methods

Define class methods from given block.

included

Evaluate given block in context of base class, so that you can write class macros here.

prepended

Evaluate given block in context of base class, so that you can write class macros here.

DSL Calls

included

[ GitHub ]


10
11
12
# File 'activerecord/lib/active_record/attributes.rb', line 10

included do
  class_attribute :attributes_to_define_after_schema_loads, instance_accessor: false, default: {} # :internal:
end