Do you understand the
difference? if not then make sure
you read up on it.
=>not,from doc&error to save note.
so you know
when to use <%= and when to use
<%
=><%= when using form helper.
=><% from that i ever try. when using ruby code if,unless,etc.
adding..
this question make me want know,than i search and found at stackoverflow.
<%= wil render return value into html
<% not will render return into html
that is summary.and i remember what mean you said before.
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2d797235-1744-402a-901c-d16f10c574e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment