On Jan 23, 3:52 pm, Knack <[email protected]> wrote:
> I normally put haml and sass options in a file (I call it hamlsass.rb)

What's that filename? "HAML's ass dot rb"?!

Just kidding  ;)


> inside config/initializers:
>
> if RAILS_ENV == 'production'
>   Sass::Plugin.options[:style] = :compressed
> end


Ok!  Will try that..


> On 23 ene, 13:53, andysky <[email protected]> wrote:
>
> > I'm using SASS after going thru PeepCode's "HAML & SASS" screencast
> > and I must say I'm really enjoying the emptiness of it ;) ...
>
> > My question is:
> > I'd like to have my stylesheet compressed on the production machine.
> > Does SASS do this by default in production mode?  If not, what's the
> > best file to add the option code in Rails 2.2?
>
> > 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