2009/6/19 djolley <[email protected]>:
>
> Thanks so much for your kind explanation.  Unfortunately, it still
> doesn't make sense to me.
>
> The documentation for the ERB class tells us:
>
> <% Ruby code -- inline with output %>
> <%= Ruby expression -- replace with result %>
>
> That makes perfect sense.  The documentation even alludes to the
> capability in question in an example; but, it really isn't discussed.
> In discussing <% %>, the Agile Rails book makes the observation,
> "Interestingly, this kind of processing can be intermixed with non-
> ruby code."  Then they give a minor example and launch into a
> discussion dealing with extraneous new line characters.
>
> Am I alone in thinking that this is a monumental capability that
> deserves a better understanding?
>
> Anyway, thanks very much for the response.  I'm sorry that it didn't
> quite bridge the gap for me.  I guess that I either have a mental
> block or am just super dense.  Thanks again.
>

Have you tried working through the Getting Started guide at
http://guides.rubyonrails.org/ ?   If not then doing that may help to
clarify things.

Colin

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to