RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Mongoid and Aggregation Framework: Get similar elements based on tags, ordered by total number of ma

Sometimes using unwind can be really useful. Here's an example on how to get similar documents, based on number of equal tags that they have: Mongoid and Aggregation Framework: Get similar elements based on tags,

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!