instance method
secret_key
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
secret_key()
Set in /initializers/session_store.rb, and loaded even if sessions are not in use.
Source
# File actionpack/lib/action_controller/http_authentication.rb, line 303
def secret_key
ActionController::Base.session_options[:secret]
end
Defined in actionpack/lib/action_controller/http_authentication.rb line 303
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Digest