在我的session_store.rb文件中,我添加了.
关键:’_Matchimi_session’,expire_after:1.分钟
YourApp::Application.config.session_store :cookie_store,:key => '_my_session',:expire_after => 30.minutes
see answer here