Changed rails aware generator