Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix for double cursor iteration, removed extraneous block binding. #25
I've added a few more changes.
First, I changed
In the case of MongoMapper, the uniqueness validator uses
The final commit was simply to add a little sugar for #last - invoking it without a sort parameter adds a sort by _id descending. I've missed this for years, finally decided to do something about it. :)