Install ruby-state-machines-activemodel by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-state-machines-activemodel
Description:
ActiveModel integration for State Machines
This package provides the gem state_machines-activemodel which adds support for creating state machines for attributes on ActiveModel. The ActiveModel integration is useful for both standalone usage and for providing the base implementation for ORMs which implement the ActiveModel API. This integration adds support for validation errors and dirty attribute tracking.
Homepage: https://github.com/state-machines/state_machines-activemodel
Version: 0.3.0-1
Section: universe/ruby