update rails for seg error on gen

Final newline missing.