liquid-rails icon indicating copy to clipboard operation
liquid-rails copied to clipboard

Renders liquid templates with layout and partial support

Results 19 liquid-rails issues
Sort by recently updated
recently updated
newest added

Hello! In rails i can write `link_to 'this is a link', root_url, :class => 'css-class'` My question is how can i call link_to filter inside liquid template? Thanks

Hello I have a helper in applicatioon_helper.rb that returns named url (page_url). This helper available from liquid template, but gets error that named url (In my case page_url) not defined....

Hello, I haven't figured out how to render an attribute of an instance variable that contains a database record. What am I missing?

This pull request adds the ability to set the render_method and parsing function. This allows you to put in a cache, to ensure the same template does not get compiled...

I notice that the rails templates are not cacheable. This makes the template get re-read from disk, then parsed every time the view is rendered, which is slow. I understand...

Hello! I'm running into some issues when using a `has_many :through` association and I was wondering if you could point me in the right direction. I've got a model association...

In [droppable.rb](https://github.com/yoolk/liquid-rails/blob/master/lib/liquid-rails/drops/droppable.rb), `safe_constantize` is used. This means that whenever you call `some_rails_model.to_liquid`, instead of throwing a `NameError: unitialized constant SomeRailsModelDrop`, we get `NoMethodError: undefined method`new' for nil:NilClass` So, I think...

I would be helped with the layout tag, like this (Shopify): https://docs.shopify.com/themes/liquid-documentation/tags/theme-tags#layout