No, I've never heard of this. I can't imagine why it would happen; the
only time production/development modes affect Haml or Sass is by
changing the default values of a few options, none of which have
anything to do with this. What version of Haml are you using?
Lawrence Pit wrote:
> Hi,
>
> I've got the following piece of code in my haml template:
>
>
> %style{ :type => "text/css" }
> :sass
> #wrapper
> :display none
>
>
> This works fine in rails in development mode. But to my surprise, in
> production this fails with the following error message:
>
>
> Attributes aren't allowed at the root of a document.
>
>
> Is that a (known) bug?
>
>
>
> Lawrence
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---