get list of state_machine states May 5, 2023 by Tarik Something like: User.state_machine.states.map &:name