Joined September 2013
·

Bradly

Sydney, Australia
·
·

Posted to CookieOverflow in Rails 4 over 1 year ago

I'll give that a go,
I tried putting
MyApp::Application.config.sessionstore :activerecord_store
into the MyApp::Application.config do loop in test.rb but that didn't seem to do the job.

Posted to CookieOverflow in Rails 4 over 1 year ago

I've just run into a similar issue, so this is super handy thank you!

One question though, seeing as though you are changing the session_store initializer, that means this change affects all environments, how would you set this just for test ?

Achievements
28 Karma
0 Total ProTip Views