We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get this error when running my project with mongo_session_store-rails4 in Rails 5.
RuntimeError (#find_session not implemented.):
vendor/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:380:in find_session' vendor/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:270:inload_session' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:56:in block in load_session' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:64:instale_session_check!' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:56:in load_session' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/request/session.rb:216:inload!' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/request/session.rb:212:in load_for_write!' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/request/session.rb:114:in[]=' ... ...
find_session' vendor/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:270:in
block in load_session' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:64:in
load_session' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/request/session.rb:216:in
load_for_write!' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/request/session.rb:114:in
It looks like session support was changed in rack 2.
I am using mongoid_store
WwwDrgcms::Application.config.session_store :mongoid_store , { expire_after: 1.month }
and if I disable these lines application is working to some degree.
by TheR
The text was updated successfully, but these errors were encountered:
The mongoid/mongo_session_store fork will soon have Rails 5 support under the mongo_session_store gem name.
Will close this issue when a gem is released.
Sorry, something went wrong.
Experimental support added in PR mongoid#31 Let me know if it works :)
No branches or pull requests
I get this error when running my project with mongo_session_store-rails4 in Rails 5.
RuntimeError (#find_session not implemented.):
vendor/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:380:in
find_session' vendor/ruby/2.3.0/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:270:in
load_session'vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:56:in
block in load_session' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:64:in
stale_session_check!'vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:56:in
load_session' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/request/session.rb:216:in
load!'vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/request/session.rb:212:in
load_for_write!' vendor/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/request/session.rb:114:in
[]='...
...
It looks like session support was changed in rack 2.
I am using mongoid_store
WwwDrgcms::Application.config.session_store :mongoid_store , {
expire_after: 1.month
}
and if I disable these lines application is working to some degree.
by
TheR
The text was updated successfully, but these errors were encountered: