On Wed, Apr 7, 2010 at 12:09 PM, Jeff <[email protected]> wrote:

> My (wild) guess is that it's actually your ERB tag that's adding the
> newline.
>
> You can use a minus sign as part of the closing ERB tag to indicate
> that you don't want the newline:
>
> <%= render :partial => 'blah' -%>
>

Where is this kind of erb tags behavior documented? I was looking for it the
other day and I failed at Google.

-- 
http://twitter.com/damog
http://stereonaut.net/

-- 
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