-
Notifications
You must be signed in to change notification settings - Fork 8
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
convert to sym value from session #21 #23
Conversation
|
Hi, thanks for the reply. |
OK, that's a good-enough reason to cast. Although I must say, I'm using the gem in a Rails 4.2.3 app and have not experienced such issue. |
Strange, but I could investigate further. The version I'm using is the 4.2.5 |
I'll happily merge a patch that fixes the session values casting to symbols. |
well, cloning, |
Thanks ;) |
Host value: Always cast to symbol
and now it's up in version 0.5.1, thanks! :) |
In this way we are sure that we obtain always a symbol from the cookie.
I don't know how to change the test, I thought we could set the cookie to a valid string value ('world') instead of :default