The reason has nothing to do with strings/symbols as cookie keys but
is due to the fact that ActionController's cookies method gets a fresh
CookieJar every time it's called.
The fix (monkeypatched here in an initializer) is simply:
The reason has nothing to do with strings/symbols as cookie keys but
is due to the fact that ActionController's cookies method gets a fresh
CookieJar every time it's called.
The fix (monkeypatched here in an initializer) is simply:
Can you open a lighthouse ticket for this and assign it to me please?
I'll be looking after 2-3-stable until 3.0 ships, so I'll be sure to
have it wrapped up for 2.3.4
Once you’re done with it, can you reassign it to 3.0. There’s a chance this bug still exists in 3.0, since some of the implementation of that stuff is still the same at the moment.
Once you're done with it, can you reassign it to 3.0. There's a chance this
bug still exists in 3.0, since some of the implementation of that stuff is
still the same at the moment.
Hi Yehuda,
I did have a look around yesterday at the 3.0 source to see if the
problem existed, but things seem to have moved around considerably so
finding the file wasn't as easy and we were more concerned about
fixing it for our app which uses 2.3.2.
I've created the ticket though and assigned it to Koz, so I guess it
will come your way soon.