User has_many items Item belongs_to Client
Using mongoid (i don't think it's mongoid specific, but anyway) i need to gather all clients by given user. Currently i use:
@clients = current_user.items.map{|c| c.client}
but for sure it's not good, and not acceptable. What is the best way for implementation?