Coming from the Rails and ActiveRecord world, I am wondering how to implement an application that uses state machine using ROM (rom-sql and rom-repository). I was previously using the gem AASM, but I know there are other gems to create state machines.
I’m just wondering if someone has an elegant solution to integrate state machines while using ROM for persistence.