开发者

Devise or Custom authentication

开发者 https://www.devze.com 2023-03-13 14:28 出处:网络
I am a NOOB to Rails 3 and just completed the Ruby-on-Rails tutorial.This tutorial provided a sound method for logging users in, signing them up and authenticating them.

I am a NOOB to Rails 3 and just completed the Ruby-on-Rails tutorial. This tutorial provided a sound method for logging users in, signing them up and authenticating them.

I started looking for some ready made authentication systems and came across Devise.

Should I be using an off the shelf system or stick with开发者_运维技巧 the one I learned in the book?

Thank you in advance


It all depends on what you want to do.

Devise is very clear on what it allows to do -or not-. I ended up using Devise for my latest project (and first one in RoR) and Devise is great.

I needed to override many controllers in order to achieve what I needed, but globally, I'm satisfied.

The Devise Wiki has a lot of good tutorials...So does SO ! :)

0

精彩评论

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