-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
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
session middleware and 1.2.8 #65
Comments
+1. I'm having the exact same problem. |
This seems related to a recent change from @toolmantim. Tim- in the |
If you're using it alongside Rails, but not from within the Rails router (like the above code), try adding the following to your config.ru:
|
Yep. That does the trick for me. Thanks, @toolmantim |
Fixed it for me too, thanks for the advice. |
Thanks @toolmantim. |
@toolmantim however, I ran into further difficulties when I found I couldn't do update or delete anything because I got the forbidden page - no csrf token? I rolled our app back to 1.2.0 for the moment and that is still working great. |
I'm not sure how.
We're setting up DJ in our config.ru as per the readme:
And currently using activerecord-session_store configured in a session_store.rb initializer:
The text was updated successfully, but these errors were encountered: