Cool thank you! I was just starting to dig in to that.

Not sure if this is a haml related question or just a rails one but,
do you know how I can override the rescue/error templates?

Matt

On Jan 6, 9:35 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> Yes. Seehttp://haml.hamptoncatlin.com/docs/rdoc/classes/Haml/Engine.html.
>
> Note that Haml 1.8, which will be released very soon (in a matter of
> hours), will offer several interfaces for caching compiled templates
> that can give significant speed increases. 
> Seehttp://nex-3.com/posts/58-caching-with-hamlfor details.
>
> Also, if these templates are coming from an untrusted source, be sure to
> use the :suppress_eval option to disallow people from running Ruby code
> within the templates.
>
> - Nathan
>
> matt mitchell wrote:
> > Hi,
>
> > I'm storing a few templates in a database and would like to use haml
> > to render them instead of the the default rails renderer. Is this
> > possible to do?
>
> > Thanks,
> > Matt
--~--~---------~--~----~------------~-------~--~----~
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