Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find! doesn't raise a docs missing error if ids are in an array #468

Closed
jmchambers opened this issue Oct 19, 2012 · 0 comments
Closed

find! doesn't raise a docs missing error if ids are in an array #468

jmchambers opened this issue Oct 19, 2012 · 0 comments

Comments

@jmchambers
Copy link
Contributor

find! method in lib/mongo_mapper/plugins/querying/decorator.rb does its error checks against *ids before they've been normalized (with flatten.compact.uniq). Simple fix on the way...

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 a pull request may close this issue.

1 participant