Looking for a reliable and modern front-end technology for your project? Learn how Vue.js will help you release your product faster.

Decoupling models and workflow

Kacper Pucek

January 21, 2017 | ruby rails workflow howto state_machine


If you've ever found yourself adding another boolean flag to mark your object's state, chances are you would greatly benefit from introducing the workflow or aasm gems. Those two are best-known and most well-proven state-machine solutions in the Ruby world. I had the chance to work with both of them and found the experience pleasing. Today I'm going to concentrate only on the latter. I encourage you to check both and decide what best suits your needs.

Read more