You Entered Your Name As Displayed Here: trytry

conculsion: using form_for instead of form_tag will not save much of your code lines as both
form_for and form_tag are going to reference to parameters very much same in a model's show method.

for form_for:
referencing attributes:,, @article.url...etc.

for form_tag: @name, @phone, @url...etc and assigned these variables at model's controller file:
@name = params[:user][name], @phone = params[:user][name], @url = params[:user][:url]

See an example of (form_for)

Edit | Back