Shopify/liquid — pull request #439 by dylanahsmith (2014-09-11 17:51:26+00:00)
Title: Make it easy to set default resource limits.

@fw42 & @camilo
cc @grollest & @sunblaze

## Problem

Right now Shopify is monkey patching Liquid::Template#render in order to set default resource limits. This seems quite brittle and could be simplified for us and others by providing a default_resource_limits hash.

## Solution

Add a Liquid::Template.default_resource_limits hash that gets used by when resource limits aren't explicitly provided to the context.