Exception: Familia::RelatedFieldFrozenError
- Inherits:
-
HorreumError
- Object
- RuntimeError
- Problem
- HorreumError
- Familia::RelatedFieldFrozenError
- Defined in:
- lib/familia/errors.rb
Overview
Raised when configure_related_field targets a definition that has already been materialized: an instance of the model was created (instance-level fields freeze as a group in initialize_relatives) or the class-level collection was accessed (each class-level field freezes on its own first access). Reconfiguring after that point would leave already-built DataTypes on the old options, so the late write fails loudly instead.