Question: what is aasm state machine?
Answer: Ruby State Machine – AASM Tutorial with Sequel, SQLite, Rake and RSpec. ... Here comes AASM – a state machine for Ruby. It works with plain Ruby and also with many libraries like ActiveRecord, Sequel, Dynamoid, Redis or Mongoid. The greatest thing about AASM is that it's really intuitive and easy to implement.