method

expand_and_namespace_key

rails latest stable - Class: ActiveSupport::Cache::Store

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

expand_and_namespace_key(key, options = nil)
private

No documentation available.

# File activesupport/lib/active_support/cache.rb, line 984
        def expand_and_namespace_key(key, options = nil)
          str_key = expanded_key(key)
          raise(ArgumentError, "key cannot be blank") if !str_key || str_key.empty?

          namespace_key str_key, options
        end