Which authentication gem/plugin should I use for Rails 3 running on CouchDB?

I'm building a Rails 3 application on CouchDB (using SimplyStored gem) and I'd like to use some existing gem/plugin for authentication, instead of building it from scratch.

Problem is, I can't find anything that works smoothly for CouchDB, everything assumes that you're running on ActiveRecord. Do you have any tips?


尝试使用CouchRest_Model。


So, in the end I've used heavily customized Clearance gem for authentication. It's very flexible, so you're able to use it even for NoSQL database - but you have to rewrite most of the functionality (not by monkey-patching, all within limits of Clearance customization), which probably takes more effort that to write whole authentication from scratch. While a good-enough solution, but I'm sure there better ones.

链接地址: http://www.djcxy.com/p/2292.html

上一篇: 月视图中的一天事件

下一篇: 我应该在CouchDB上运行Rails 3时使用哪种认证gem / plugin?