project rails example using https://github.com/nmenag/state-machine-demo.git