On 28/04/2016 16:36, Colin Law wrote:
On 28 April 2016 at 16:28, gvim <[email protected]> wrote:

That is almost correct.  Lines with <% are evaluated but nothing is
inserted into the page.  Lines with <%= are evaluated and the returned
value (string) is inserted into the page.  Since form_for has to
insert the form tag into the page then it has to be <%=

Colin


Sorry, should have RTFM first :)

gvim

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/5722377D.7010100%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to