草庐IT

ruby-on-rails - 典狱长 :renew option

我正在使用devise(1.5.3)和warden(1.1.1),我不需要在用户登录/注册后更新session_idhttps://github.com/hassox/warden/blob/master/lib/warden/proxy.rb#L160ifopts[:store]!=false&&opts[:event]!=:fetchoptions=env[ENV_SESSION_OPTIONS]options[:renew]=trueifoptionssession_serializer.store(user,scope)end转储选项:options{:path=>"/",:d