On Wed, Sep 2, 2009 at 9:16 AM, Jesse<[email protected]> wrote:
>
> I'm puzzled as the indentation for the source has flushed left in
> production, remotely.  I wonder about the cause and/or consequence of
> this.  Is the source supposed to be indented all the time?

Indentation is now turned off by default in production in order to
improve performance. If you want to see indentation in production, you
can add this code somewhere (perhaps
config/environments/production.rb):

Haml::Template.options[:ugly] = false

Regards,

Norm

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to