fixed saved button routing but getting an activerecord not unique error