Module: ActionDispatch::Session
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Classes:
| |
Exceptions:
| |
Defined in: | actionpack/lib/action_dispatch.rb, actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, actionpack/lib/action_dispatch/middleware/session/cache_store.rb, actionpack/lib/action_dispatch/middleware/session/cookie_store.rb, actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb |
Class Method Summary
- .resolve_store(session_store) Internal use only
Class Method Details
.resolve_store(session_store)
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch.rb', line 113
def self.resolve_store(session_store) # :nodoc: self.const_get(session_store.to_s.camelize) rescue NameError raise <<~ERROR Unable to resolve session store #{session_store.inspect}. #{session_store.inspect} resolves to ActionDispatch::Session::#{session_store.to_s.camelize}, but that class is undefined. Is #{session_store.inspect} spelled correctly, and are any necessary gems installed? ERROR end