简体   繁体   中英

What is the most common way to do authentication in rails 3?

I need to do authentication in rail3 with standard sign up/login/forgot password functionality. Is there a plugin or something that most people use for this?

I'm not sure what the most common method is - but certainly a very popular gem is 'Devise', by Plataformatec: http://github.com/plataformatec/devise

I've tried a few auth gems and for me, it was the simplest to setup and modify to my needs. It has built in password recovery, as well as account confirmation (if required) and a few other very handy features.

The most popular is definately authlogic. I would agree with theTRON though, devise is the way to go.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM