我的devise.rb初始化器中有以下内容: # The time the user will be remembered# config.remember_for = 2.weeks
devise在被注释掉时使用的默认值是什么?此设置未指定。它是2周还是无限的?我在文档中发现了相互矛盾的信息。我在Devise 3.5.10上。
我在我的rails 3应用程序中使用devise。由于某些原因,“记住我”的登录不起作用。config.remember_for = 2.weeksStarted POST "/users/sign_in" for我的sessions_controller.rb中还包含以下内容
class SessionsCon