Hi -

I'm just now playing with HAML in Rails 3 and really enjoying it (and
congratulations on the 3.0.0 release).

Question, though - I get why the :ugly option defaults to false on the
development environment and true on production, but why is it false on
test? Is there some reason you'd want the indented presentation there?

I only have a few integration specs right now, but their running time
drops by about 25% if I throw the line in my initializer:

Haml::Template.options[:ugly] = true if Rails.env.test?

Just curious as to whether there's something I'm missing, or if this
will come back to bite me later.

Thanks!

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