123456789_123456789_123456789_123456789_123456789_

Class: ActiveModel::AttributeSet::Builder::FromInitContext

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Context
Instance Chain:
self, Context
Inherits: ActiveModel::AttributeSet::Builder::Context
Defined in: activemodel/lib/active_model/attribute_set/builder.rb

Overview

For new records, which fall back to every default.

Class Method Summary

Context - Inherited

.new

names are the attribute names by index, type_table their TypeTable, and defaults the default attributes by index that attributes a row doesn't have fall back to.

Instance Attribute Summary

Context - Inherited

Instance Method Summary

Context - Inherited

#default_at

The default attribute for the attribute at index, if any.

#name_at

The name of the attribute at index.

#type_at

The type of the attribute at index in a row laid out with #indexes.

#type_key_at?

: (Integer) -> bool?

Constructor Details

This class inherits a constructor from ActiveModel::AttributeSet::Builder::Context