From 55aa59edc4a13c0cc9bf966de154cdc15ae8047f Mon Sep 17 00:00:00 2001 From: xithan Date: Thu, 18 Jun 2015 01:10:01 +0200 Subject: [PATCH] remove breakpoints --- card/lib/card/format.rb | 1 - card/lib/card/view_cache.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/card/lib/card/format.rb b/card/lib/card/format.rb index 79c348e7f..560c114a1 100644 --- a/card/lib/card/format.rb +++ b/card/lib/card/format.rb @@ -198,7 +198,6 @@ def render view, args={} with_inclusion_mode view do Card.with_logging :view, :message=>view, :context=>card.name, :details=>args do Card::ViewCache.fetch(self, view, args) do - binding.pry if view == :open send "_view_#{ view }", args end end diff --git a/card/lib/card/view_cache.rb b/card/lib/card/view_cache.rb index 5373f211b..f7b93d3a1 100644 --- a/card/lib/card/view_cache.rb +++ b/card/lib/card/view_cache.rb @@ -70,7 +70,6 @@ def fetch(format, view, args, &block) history = fetch_history history[key] ||= 0 history[key] += 1 - binding.pry Rails.cache.write(HISTORY_KEY, history) Rails.cache.fetch(key, &block) end