Form modelsRuby10,954EditTableless models. Including validation, and ActiveModel behaviour. Great for forms that create multiple records.
Attributes on Steroids for Plain Old Ruby Objects
Form objects decoupled from models.
:briefcase: Manage application specific business logic.
Make any Ruby object quack like ActiveRecord
Data validation based on predicate logic
Flexible type system for Ruby with coercions and constraints
FastAttributes adds attributes with their types to the class
ModelAttribute gem - attributes for non-ActiveRecord models
Validation frontend for models.
Schema-based validation and coercion for Ruby data structures
Provides a convention for modelling user interactions as use case classes.
Attributes for plain old Ruby objects. No dependencies, only simplicity and clearness.
A smaller, faster, less powerful Virtus
Compose, decouple and manage domain logic and data persistence separately. Works particularly great for composing form objects!
Related categories
Interactors / Commands / Service Objects / Use Cases4,722Rubyinteractor, mutations »Compose business logic into commands that sanitize and validation input. Extends form objects and form models to perform defined transformations with your data.
Around the webAdd