Updated rails generator