开发者

Rails plugin for User reg, password recovery, the works?

Is there such a plugin for rails that will do everything for user registrations, or must this all be coded from the ground up using various plugins a开发者_开发技巧nd combining them or just coding some parts by hand?


Check out AuthLogic and Devise.

These will handle all the registration, login, logout, password reset etc for you. You still have to do some work, but the logic itself is done for you.


I'm a Rails noob, and of all the authentication gems, I found Devise to be by far the least confusing to learn how to use. Ryan Bates's Railscast on Devise is a great help as well.

Be sure to install the correct gem for the version of Rails you're using.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜