mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Nicer name for anonymous local cache middleware class
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user