This is rails gem which will minimize query for one-to-one, one-to-many database relationships.
Akshay
MIT