[Rails] Re: Native erb lacks -%>, where is Rails'' erb?

Hugh Sasse
2006-02-20T16:10:48Z

On Mon, 20 Feb 2006, Simo Gal wrote:

> Inside rails, I add the following line in my
> config/custom_environment.rb
>
>   ActionView::Base.erb_trim_mode=''%<>-''
>
> that enables all erb options
>
>     %  enables Ruby code processing for lines beginning with %
>     <> omit newline for lines starting with <% and ending in %>
>     >  omit newline for lines ending in %>

by which I think you meant:

      -  omit newline for lines ending in -%>

Thank you.  My problem was how to reproduce it outside rails, but this
is good to know too.
>
> Simo
>  AddSW
>
        Hugh