本文介绍了Rails的认证插件推荐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想验证添加到我的Rails应用程序。 acts_as_authenticated,restful_authentication,Authlogic ...等

I would like to add authentication to my Rails app. I came across few plugins that do this: acts_as_authenticated, restful_authentication, Authlogic...etc

我还没有看到,描述了使用每个差异和优缺点的文章。

I haven't seen an article that describes differences, advantages and disadvantages of using each.

你能提供帮助的?你用哪一个,为什么?

Can you help with that? which one do you use and why?

谢谢,

推荐答案

我最近从restful_authentication切换到AuthLogic。主要的原因是因为我发现restful_authentication有点太臃肿了什么,我想要的目的。看看Ryan Ba​​tes的辉煌截屏:

I recently switched from restful_authentication to AuthLogic. The main reason was because I found restful_authentication a bit too bloated for what I was trying to achieve. Check out Ryan Bates' brilliant screencast:



  • http://railscasts.com/episodes/160-authlogic

这篇关于Rails的认证插件推荐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-17 01:48