remove rails document