Thu Sep 29
#
#rubyist.org
23:22 <@noradio> i'm going to sleep i think
23:23 <@htonl> yeah i'm going to hit it early
23:23 <@htonl> i'm friggin tired tonight
23:23 <@chad> too much disco?
#
“ Nothing is less real than realism. ”
Georgia O’Keefe
#
Make default template assertions implicit
# Refactor your action and the template assertion # can remain unchanged. Tiny victories! def assert_default_template assert_template @controller.action_name assert_response :success end
#
Jaded Pixel has been working on Shopify for some time now. It’s the same idea as Paul Graham’s Viaweb, ten years later. They’ve just given a preview of a simple yet seemingly powerful templating markup that they will be making available to their users.
Shopify previews Liquid
Jaded Pixel has been working on Shopify for some time now. It’s the same idea as Paul Graham’s Viaweb, ten years later. They’ve just given a preview of a simple yet seemingly powerful templating markup that they will be making available to their users.
<div class="product-image">
{{ product.image -> thumbnail }}
</div>
Don’t see functionality like that too often. I trust Tobi won’t let you do:
{{ customer.billing_info -> creditcard_number}}