instance method
session_store
Ruby on Rails 3.0.20
Since v3.0.20Signature
session_store(*args)
No documentation comment.
Parameters
-
argsrest
Source
# File railties/lib/rails/application/configuration.rb, line 119
def session_store(*args)
if args.empty?
case @session_store
when :disabled
nil
when :active_record_store
ActiveRecord::SessionStore
when Symbol
ActionDispatch::Session.const_get(@session_store.to_s.camelize)
else
@session_store
end
else
@session_store = args.shift
@session_options = args.shift || {}
end
end
Defined in railties/lib/rails/application/configuration.rb line 119
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Application::Configuration