ActiveModel::Attributes
Instance methods
attributes
Macros
__plant_attribute_bases
Base dispatchers, planted into the class on first attribute use
(also planted by Model/API's included hook).
attribute(name, type = nil, default = nil)
type: :integer/:string/:boolean/:float; nil = untyped (identity cast — mirrors plain attr_accessor semantics).