Form_tag changes for 2.0?

can someone help me…I understand that with 2.0 start_ and end_
form_tag has been deprecated? Below is my code and I can’t seem to
rewrite such that it will work correctly with 2.0…

<%= form_tag :action => “save” , :id => @page %>
<%= text_area ‘page’, ‘content’ %>
<%= submit_tag %>
<%= end_form_tag %>

thanks for the help, still noobish

On Aug 4, 7:38 pm, agilehack [email protected] wrote:

can someone help me…I understand that with 2.0 start_ and end_
form_tag has been deprecated? Below is my code and I can’t seem to
rewrite such that it will work correctly with 2.0…

You’re now supposed to write

<% form_tag … do %>

<% end %>

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs