You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. It is possible to do what you suggest, I use it quite a lot in fact. Take the following model and example:
classUser < CouchRest::Model::Baseproperty:emaildesigndoview:by_emailendenduser=User.by_email.key('[email protected]').first# is the same as:user=User.find_by_email'[email protected]'
I'd also recommend using the github repo in your project. Its been a while since we released a gem, and the master branch has a lot of useful stuff.
Hi There,
I've just started using Couchdb on my Rails projects (with couchrest_model gem) and I'm missing something like Model.find_by_* methods?
In case it doesn't exist, would it be a good idea to improve this gem to do so?
Cheers,
The text was updated successfully, but these errors were encountered: