Mailer Template in Database


I need to be able to save email templates in the database so that my
client can make changes to the layout and text using a WYSIWYG editor.
What I would like to do is enable him to completely change the template
but keep placeholders (something like {name} {email etc.).

Does anyone know how to do this.



On Jun 21, 11:09 am, Mike R. [email protected]


Shopify uses Liquid for this. It’s simple to use, and you don’t have
the danger of users entering any valid ruby code that gets blindly

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs