Forum: Ruby on Rails store rhtml in database

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D53151d3fb2de557729740292239d270?d=identicon&s=25 Thomas Kwan (thomask)
on 2006-02-24 17:26
Has anyone done this? I want to store the rhtml (template) in the
database, but not sure how I can code the controller to generate the
file html and send it to the user.
013132bb011e736d6befbab3b1fb9fb7?d=identicon&s=25 Paul Ingles (Guest)
on 2006-02-24 18:12
(Received via mailing list)
Admittedly I've not tried to do this, but I know that this is one of the
reasons that jadedpixel/Tobia Lutke have Liquid templates:

You could try using that, or, take a peek at the code and see how it
it -- might be possible to use some of the ideas.


engrossing stuff at
This topic is locked and can not be replied to.