Ryan Marshall

Results 29 comments of Ryan Marshall

I've battled with this issue also. My best solution was to wrap the Eloquent action in a `try/catch` and decode the error correctly within the `catch` before outputting it to...

@99kennetn only the array notation is possible in the original Ruby implementation, probably best to not introduce non-standard patterns here

You want the `modulo` filter as documented in the original Ruby implementation: https://shopify.github.io/liquid/filters/modulo/

I'd be happy to write some more detailed docs @sanmai – will open a PR.

It should really be added to the documentation, but `registerTag` is what you're looking for. We extended this package and added our own custom tags such as `form, submit, select,...

This would be very useful. A couple we get regularly (typically from user-editable templates): ```Exception: Implicit rendering of arrays not supported. Use index operator. /var/www/html/vendor/liquid/liquid/src/Liquid/AbstractBlock.php``` `xxx was not properly terminated...

@syngency would be happy to sponsor the development of this feature if it can be prioritized? Please let us know how we can help with this.

This implementation of Liquid doesn't offer a `render` tag. You'll need to create a custom one.

We're doing this at the moment. Just create a `TagRender.php` custom tag that pulls the snippet from the database. `{% render 'snippet-name.liquid' %}`