From 0906f38f6db3b7f1b5938df70b7147ed0c752f62 Mon Sep 17 00:00:00 2001 From: Jamie Wilkinson Date: Sat, 27 Nov 2010 14:22:38 -0800 Subject: [PATCH] Use HAML ugly mode in production --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 958f30b6f..beedc94a7 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -48,3 +48,6 @@ Diaspora::Application.configure do config.i18n.fallbacks = true config.threadsafe! end + +# Sacrifice readability for a 10% performance boost +Haml::Template::options[:ugly] = true