使用 Ruby on Rails,创建用户注册和激活的最快方法是什么?

发布于 2024-09-30 13:43:53 字数 71 浏览 0 评论 0原文

我想知道10到15分钟可以完成吗?

有没有最快的方法?

最优雅和最强大的解决方案可能是不同的吗?

I wonder if it can be done in 10 to 15 minutes?

Is there a quickest method?

Is the most elegant and robust solution possibly a different one?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

oО清风挽发oО 2024-10-07 13:43:53

Devise 是正确的选择。自述文件应该可以让您在 10 分钟内开始使用。在 Rails3 应用程序中使用它应该不难。

Devise is the way to go. The README should get you started in 10 minutes. It shouldn't be really hard to use it in your Rails3 app.

女中豪杰 2024-10-07 13:43:53

如果您从头开始编写代码,我还建议提供 prologuerailswizard 尝试一下。否则我投票支持使用设计:)

If you are writing your code from the scratch, I would also suggest giving prologue or railswizard a try. Otherwise my vote goes for using devise :)

看透却不说透 2024-10-07 13:43:53

对于 Rails3 应用程序来说,绝对是 Devise ;)。但在设备上杀死我的一个限制是我还没有找到一种方法来定制设备的控制器。我提出了一个问题,但尚未得到一些答案 我想定制 devise gem 的控制器,是否可以以及如何做? .如果您的要求就像用户注册和整个 M、V 和 C 堆栈中的完整身份验证一样简单,那么 Devise 是目前最好的解决方案:)

For a Rails3 App definitely Devise ;). But one limitation killing me on devise is that I'm yet to find a way to customize the devise's controllers. I have raised a question this and yet to get some answers I want to customise devise gem's controllers, is it possible and how to do? . If your requirement is as simple as user registration and complete authentication throughout M , V and C stacks then Devise is the best solution for now :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文