method
session_store
v3.0.9 -
Show latest stable
- Class:
Rails::Application::Configuration
session_store(*args)public
No documentation available.
# 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