Re: HTML shortcuts

Murugappan Ramanathan
Mon, 28 Dec 2009 08:43:21 -0000

Corey Konrad wrote:
> 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

Dear Zack and Corey,

I am in the same boat as Corey. Don''t see much of a shorcut but
definitely see a whole lot of confusion. The documentation that i have
read so far does not seem to be make it better. In fact, I tried running
this code with Rails on Ruby 1.8.6-p383 and got eyeful of complains from
the firefox and IE. This after using the old deprecated way and the new
way. Is there any documentation that explains all this very well?

Appreciate any help here. Thank you

Muru
--
Posted via http://www.ruby-forum.com/.

--

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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org