Changes undo after running rake