remove rails dependency