mongoid statusable 

In model just add 
require 'statusable'
include Mongoid::Statusable