state_machines

state_machines gem, на сайте с December 21, 2022 22:19
State Machines adds support for creating state machines for attributes on any Ruby class. Please note that multiple integrations are available for Active Model, Active Record, Mongoid and more in the State Machines organisation. If you want to save state in your database, you need one of these additional integrations.