On 19/08/2010, at 11:04 PM, Joshua Partogi wrote:

> I'm not sure how to put this. I want user to be able to modify their
> own email template from the web front-end with some variables that
> gets replaced by values from the database. Now it wouldn't be possible
> to use erb as the email template (CMIIW). Is there any solution in
> Ruby for this kind of thing?

Any non-eval'ing template language should do you. Check out moustache:

http://github.com/defunkt/mustache

– tim

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en.

Reply via email to