You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom storage technologies are autoloaded via require "rack/session/#{ adapter_name }".
However, when I create file with class Rack::Session::Foo loadable by require 'rack/session/foo', it's not autoloaded and server complains about uninitialized constant. At the moment I just require it manualy at top of application.rb, but the guide should probably be reworded somehow (not sure how).
The text was updated successfully, but these errors were encountered:
Here https://github.com/hanami/hanami.github.io/blob/build/source/guides/head/actions/sessions.md it says that
However, when I create file with class
Rack::Session::Foo
loadable byrequire 'rack/session/foo'
, it's not autoloaded and server complains about uninitialized constant. At the moment I just require it manualy at top ofapplication.rb
, but the guide should probably be reworded somehow (not sure how).The text was updated successfully, but these errors were encountered: