开发者

Rails ORM for CouchDB?

开发者 https://www.devze.com 2023-01-13 06:34 出处:网络
MongoDB has two popular ORMs for Rails: MongoID and MongoMapper. Are there CouchDB ORM:s for Ra开发者_如何学Pythonils 3?I can\'t say for sure since I\'ve never used it, but it looks like CouchRest wo

MongoDB has two popular ORMs for Rails: MongoID and MongoMapper.

Are there CouchDB ORM:s for Ra开发者_如何学Pythonils 3?


I can't say for sure since I've never used it, but it looks like CouchRest would be the way to go - specifically "CouchRest Model" looks like has been updated to work with Rails3 ActiveModel.

FWIW, I landed on CouchRest after finding this thread.


there is couchRest as noted above, or if you like active record style try couch_foo. I had different needs when i was looking into couch this past spring, and using rails 3. Rails 3 should be ORM agnostic, so it shouldn't really mess with it, although I couldn't get testing to work easily, but that could have just been me.

0

精彩评论

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