Change it to
if @contact.save
flash[:success] = "Thanks! I'll be in touch soon!"
redirect_to :action => 'new'
else
render :action => 'new'
end
redirect_to
expects a url/relative path as a string, or a Hash that points to a url
eg:
"/user/10"
"http://localhost:3000/users/new"
or {:controller => 'users', :action => 'new'}
But when you give redirect_to 'new'
, It is looking for '/new'