Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
开发一个新的应用程序并使用 restful-authentication。我试图让它尽可能简单地开始然后迭代,所以我没有使用激活电子邮件功能生成,计划稍后添加它。以后有没有一种简单的方法可以在使用现有插件时做到这一点?
是的,您可以使用选项 -include-validation 重新运行生成器。它将为您的模型用户和会话添加额外的代码。
如果你刚刚开始,你应该看看 thinkbot 的清除。这是一个很棒的身份验证插件。