Revert rails