- Included in:
- Defined in:
Adds validation behaviour to ActiveModel-compliant objects. This means that
objects this module is mixed into will only run
save if it responds
This model makes sure that all attributes are properly delegated before any validations run, and copies any presented model errors to the host object.
You can override how specific models are validated by overriding the