method
key_generator
v7.1.3.2 -
Show latest stable
- Class:
Rails::Application
key_generator(secret_key_base = self.secret_key_base)public
Returns a key generator (ActiveSupport::CachingKeyGenerator) for a specified secret_key_base. The return value is memoized, so additional calls with the same secret_key_base will return the same key generator instance.