Liquid templates - idiomatic rails

12 views
Skip to first unread message

Tonino Jankov

unread,
Sep 24, 2014, 1:06:39 AM9/24/14
to rubyonra...@googlegroups.com
hi!

I'm implementing Shopify's liquid templates in a rails project.
Now, what would be the most idiomatic / nicest way to load & render
these templates from the database apart from

render text: "<html><body>Hello</body></html>".html_safe ?

This solution doesnt look very pretty to me.

--
Posted via http://www.ruby-forum.com/.
Reply all
Reply to author
Forward
0 new messages