instance method namespace=

Ruby on Rails 8.1.2

Since v8.1.2

Signature

namespace=(namespace)

Set the current namespace. Note, this will be ignored if custom options are passed to cache wills with a namespace key.

Parameters

namespace req
Source
# File activesupport/lib/active_support/cache.rb, line 806
      def namespace=(namespace)
        @options[:namespace] = namespace
      end

Defined in activesupport/lib/active_support/cache.rb line 806 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::Store

Type at least 2 characters to search.

↑↓ navigate · open · esc close