Simple State Machine Plugin for rails