Downgrade rails version to >= 4.0.0 for state_machine(non 4.1.1)