Remove error on ActiveRecord 4.1 and ruby 2.1.0 on transition_to!