I've been looking in to rendering safe templates recently. There are a
few options I have been exploring...
1.) JRuby Sandbox
- There is a recent video presentation knocking about that is worth
checking (I couldn't find it via Google)
2.) Safemode http://github.com/svenfuchs/safemode/tree/mast
Thanks for the replies! I am slow to respond due to vacation and
stuff:)
It defenently sounds like a good idea to have the model output erb-
templates into the file system, I will look into that. But maybe ERB
is not safe to use at all if you want the users to alter the templates
on the fly (like
On Mar 18, 5:24 pm, fredd wrote:
> Hi, I am currently developing a small cms in Rails. I decided recently
> that I need to store both the content and the presentation template in
> the database for flexibility. The system is based heavily on content
> blocks and I need different templates for the
I see what you are saying but question that by storing erb templates
in the DB would eventually become less flexible at some point in the
future??
I can see why it could and why it couldn't...
Would not using partials separated into directories by namespace's not
work?
I guess this depends on h
4 matches
Mail list logo