Switched to aasm from state_machine