remove rails nonsense