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.
Thomas K. (Guest)
on 2006-02-24 18: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.
Paul I. (Guest)
on 2006-02-24 19: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.