edited rails file