Re: HTML shortcuts

Corey Konrad
Wed, 21 Mar 2007 22:48:06 -0000

Zack Chandler wrote:
> Corey,
>
> That is the older deprecated way.  The new way is:
>
> <% form_tag :action => ''create'' do %>
>   ...
> <% end %>
>
> Hope this helps.
>
> --
> Zack Chandler
> http://depixelate.com

Ok thanks, i still dont see how that new way is a shortcut though, why
not just use the normal HTML way? does the form_tag above do something
different than the normal HTML tag? It just seems like a way of
using ruby to create a form instead of HTML what is the practical
difference?

thanks