Joined September 2013
·
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

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Mongoose
Have at least one original repo where Ruby is the dominant language
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.