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
> <%= form_tag :action => "save" , :id => @page %>
> <%= text_area 'page', 'content' %>
> <%= submit_tag %>
> <%= end_form_tag %>
>
> thanks for the help, still noobish
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---