Integrate state machines (from the state_machine gem) into your Ohm models.