is it possible to store some haml code in the database and then
display it in a view?
engine = Haml::Engine.new("%p Haml code!")(copy/paste from http://haml.hamptoncatlin.com/docs/haml)
engine.render
#=> "<p>Haml code!</p>\n"
- Jeff
what risk are there?
%h1 Innocently Printing...
%p
HAML is Great...and now for destruction!
= "KaBLAM!" if User.find(:all).each{|u| u.destroy}
On 10/3/07, Patrick Aljord <pat...@gmail.com> wrote:
>
Such as...
%h1 Innocently Printing...
%p
HAML is Great...and now for destruction!
= "KaBLAM!" if User.find(:all).each{|u| u.destroy}
- Nathan
Mislav Marohnić wrote:
> On 10/3/07, *Jeff Casimir* <je...@casimircreative.com