4

What's the best state machine gem to use with mongoid?

Lucas Renan
  • 3,787
  • 3
  • 28
  • 35

2 Answers2

6

The state_machine gem https://github.com/pluginaweek/state_machine should work with mongoid as it uses active_model

Christos
  • 1,297
  • 10
  • 9
5

A good one: https://github.com/ryanza/stateflow

Lucas Renan
  • 3,787
  • 3
  • 28
  • 35