Buttons for AASM Events
This might be of interest if you use the AASM state machine gem and Ruby on Rails. If not, well, I warned you.
Let’s take the example, from the AASM documentation, of a Job. You can run it, sleep it or clean it. We want to have an UI that allows an operator to…