Skip to main content

Module nested_attributes

Module nested_attributes 

Source
Expand description

Nested-attribute assignment helpers.

Structs§

NestedAttributesConfig
Metadata describing accepted nested attributes for an association.
NestedAttributesRegistry
Registry of nested-attribute declarations.
NestedRecordAssignment
A parsed nested-attributes assignment.

Enums§

NestedAttributesError
Errors returned while parsing nested attributes.

Traits§

NestedAttributes
Trait implemented by records that declare nested-attribute metadata.

Functions§

accepts_nested_attributes_for
Declares nested-attribute metadata for an association.
assign_nested_attributes
Parses nested attributes from a parameter payload.

Type Aliases§

RejectIf
Predicate used to reject nested attribute payloads.