HTML shortcuts

Corey Konrad
Wed, 21 Mar 2007 00:20:51 -0000

I am just learning ruby on rails, i have known HTML for a few years now
and i dont really see how the HTML control shortcuts in Erb are
shortcuts they just seem to be a different way of creating an HTML
control not a shortcut.

I mean look at these two form tags does the first one seem like a
shortcut? Maybe that is just the opinion of the author of the book i am
reading i dont know, am i missing something? Thanks

<%= start_form_tag ({:action => "at"}, {:method =>
"post"}) %>
<%= end_form_tag %>

<form action = "/look/at" method = "post"