Removing Rails references