views:

134

answers:

1

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?

+2  A: 

Try Using CouchRest_Model.

ShenoudaB
Thanks, I've looked into it and I'm probably going to switch to Couchrest_Model (I'm also considering couchrails gem), its better for my purposes than SimplyStored, especially in Rails 3.That doesn't answer the question though - is there a quick way to implement validation on CouchDB without all this ActiveRecord / ActiveModel hassle? I guess not, I'll need to "simulate" ActiveRecord behaviour (through ActiveModel) for specific authentication gem.
Lukas Stejskal