Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow for blank keys

  • Loading branch information...
commit 77bdc5760180a5b5a8652af6dc6b1e3ecebbd99f 1 parent 0acbdc6
Flinn Mueller authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  vendor/plugins/cacheable/lib/cacheable.rb
2  vendor/plugins/cacheable/lib/cacheable.rb
View
@@ -109,7 +109,7 @@ def expire_cache(*args)
# => 'Product/first/sale'
#
def scope_cache_key(key, scope = self)
- ActiveSupport::Cache.expand_cache_key(key, scope)
+ ActiveSupport::Cache.expand_cache_key(key.to_s, scope)
end
# paramaterized key from method arguments, scoped to the class
Please sign in to comment.
Something went wrong with that request. Please try again.