Skip to content

Resolved issue with finding entries.#1

Open
baphled wants to merge 1 commit intoshenoudab:masterfrom
28clouds:master
Open

Resolved issue with finding entries.#1
baphled wants to merge 1 commit intoshenoudab:masterfrom
28clouds:master

Conversation

@baphled
Copy link
Copy Markdown

@baphled baphled commented Jan 31, 2011

There was a bug in #find_first and #find_all which stopped users from getting the expected results.

This will also resolve the issue relating to the forgotten password functionality not working in devise_couch.

http://github.com/shenoudab/devise_couch/issues#issue/8

@colindensem
Copy link
Copy Markdown

+1 on this being a bug and this fixes that bug.

However other actions in couch appear to then be effected.
Say 3 widgets exist with a price of 20
view = Widget.find_by_price(:key=>20)

view.docs returns 1 only.

Not sure if it's related, but if I remove devise/couch/orm and try, it works as expected, that is 3 docs are returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants