Skip to content

Commit

Permalink
Nicer name for anonymous local cache middleware class
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Apr 2, 2009
1 parent 4442312 commit 0e9efae
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -27,6 +27,11 @@ def call(env)
Thread.current[:#{thread_local_key}] = nil
end
EOS

def klass.to_s
"ActiveSupport::Cache::Strategy::LocalCache"
end

klass
end
end
Expand Down

0 comments on commit 0e9efae

Please sign in to comment.