Generated rails file