AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)
翻译 - AASM-Ruby类的状态机(普通Ruby,ActiveRecord,Mongoid,NoBrainer)
Ruby finite-state-machine-inspired API for modeling workflow