Shopify/liquid — Issue #82: Can’t use symbols as hash keys for local variables in Liquid::Template#render
Author: codyrobbins
Created: 2011-11-17 19:18:26+00:00
State: open

Here’s a minimal test case:

Liquid::Template.parse('Hi, {{name}}!').render(:name => 'Cody') #=> 'Hi, !'
Liquid::Template.parse('Hi, {{name}}!').render('name' => 'Cody') #=> 'Hi, Cody!'

This problem occurs for me using both 2.3.0 and 2.2.2.