Nicer name for anonymous local cache middleware class

This commit is contained in:
Joshua Peek 2009-04-02 12:05:21 -05:00
parent 44423126c6
commit 0e9efae474
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@ module ActiveSupport
Thread.current[:#{thread_local_key}] = nil
end
EOS
def klass.to_s
"ActiveSupport::Cache::Strategy::LocalCache"
end
klass
end
end