http://cookbook.mongodb.org/patterns/unique_items_map_reduce/ how can I access with sub mapreduce like this. I try some way :
Transaction.all.limit(10).map_reduc