From 31a5606d42c0a9b39d9946146fc460b304396fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=BCtke?= Date: Sun, 14 Jun 2009 17:42:28 -0400 Subject: [PATCH] fixed a bug with mock paginate tag --- benchmark/shopify.rb | 5 +---- benchmark/shopify/database.rb | 1 + benchmark/shopify/paginate.rb | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/benchmark/shopify.rb b/benchmark/shopify.rb index e5dc3a35..b336868c 100644 --- a/benchmark/shopify.rb +++ b/benchmark/shopify.rb @@ -10,7 +10,6 @@ require 'rubygems' require 'active_support' require 'yaml' require 'digest/md5' - require 'shopify/liquid' require 'shopify/database.rb' @@ -50,7 +49,7 @@ class ThemeProfiler $stdout.puts "* rendered template %s, content: %s" % [template_name, Digest::MD5.hexdigest(html)] # Uncomment to dump html files to /tmp so that you can inspect for errors - #File.open("/tmp/#{File.basename(template_name)}.html", "w+") { |fp| fp <