I guess you''re talking about reducing the code produced by your rails
app.
Are you using the -%> notation such as :
<% if condition ... -%>
The dash before the closing tag is a shortcut that make sure no new
line will be added at this point.
This is the only trick I can think about.
Christophe
On Apr 12, 2:41 am, Xia __ <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
wrote:> Hello,
>
> Does anyone have any tips for minifying views and layouts?
>
> IE removing whitespace
>
> Thanks ahead
> --
> Posted viahttp://www.ruby-forum.com/.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.