Mephisto uses Liquid and Drops. I just manually create a to_liquid method on my models that returns a drop.
Look in lib/mephisto/liquid/article_drop.rb.
There's no magic really. Liquid gives you a blank slate, leaving you to fill in all the gaps.
Mephisto uses Liquid and Drops. I just manually create a to_liquid method on my models that returns a drop.
Look in lib/mephisto/liquid/article_drop.rb.
There's no magic really. Liquid gives you a blank slate, leaving you to fill in all the gaps.