Migrated from using-liquid-without-rails v7

RichMorin
2010-08-12 13:45:58 -07:00
parent cc189950a0
commit ab3937a085
+2 -1
@@ -26,7 +26,8 @@ puts Liquid::Template.parse(sentence).render('product' => my_purchase)
You excitedly execute your code, expecting to see your beautiful new sentence, but instead you get:
<pre><code>I'm running to the store with Liquid error: undefined method `to_liquid' for #<Product:0x1388c08 ...
<pre><code>I'm running to the store with Liquid error:
undefined method `to_liquid' for #<Product:0x1388c08 ...
</code></pre>
@to_liquid?@