Maintainable mongodb queries in Ruby with query object and mongoid criterias | Dark Hacker News