config.session_store :redis_store, servers: { host: "localhost",
port: 6379,
db: 0,
namespace: "sessions"
},
expires_in: 1.hours
expires_inはserversのハッシュの後に書くこと。cache_storeの書き方とは違うので注意。