Rails App using App proxy and liquid

Highlighted
Excursionist
14 1 0

Hey guys, 

i wrote an app in Rails 6 which works as designed. After coding the app i added the app proxy, which works fine. But what isnt working fine is the fact that im not able to pass variables and objects to liquid templates

My problem: 

I created a liquid file which shall access several ruby objects. I installed the liquid gem and the documentation says that I have to initialize the objects and use a Liquid::Drop. But where do I have to create the Drop tables? Directly in my model? As a helper_method? As Controller Class?

Im completely stuck right now, because the gems dont gave me a basic skeleton to play with and the docs are only showing the classes which already exist, but in my case, they dont...

Thx in advance!

0 Likes