railsware / rack_session_access

Rack middleware that provides access to rack.session environment
MIT License
257 stars 29 forks source link

ActionDispatch::ParamsParser::ParseError: 795 #9

Closed germs12 closed 10 years ago

germs12 commented 10 years ago

Hi,

I've been using rack_session_access successfully for a while now, but recently ran into an issues that I can't put my finger on. When I run a test using rack_session_access independently I have no issues, but when I run the full suite an error is throw when I try to set the session value.

page.set_rack_session(:user_id => user.id)
795: unexpected token at '_method=put&data=BAh7AA%3D%3D%0A' (ActionDispatch::ParamsParser::ParseError)

I have reordered the tests and it only occurs when the test is run at the end. I have tried page.session_reset!, but that does not fix the issue. Any idea what might be causing this? Thanks!

germs12 commented 10 years ago

Apparently the good ole M$ approach fixed it (restart). Apologies for jumping the gun. :smile:

germs12 commented 10 years ago

That said...I believe upgrading to rails 4.0.2. breaks rake_session_access gem. Will report more after investigating tomorrow.