pengwynn/linkedin — Issue #108: Is there a way to return all of a user's connections for a given company id?
Author: bhellman1
Created: 2012-03-05 23:50:46+00:00
State: open

Goal is to return all of a user's connections for a given company id?

Seems like the only way to do that is very inefficient:
1. Get the user's current company: user.positions.all.map{|t| t.company}[0][:id]
2. Fetch all the user's connections, and then manually loop through for matches.

Thoughts? Am I missing something obvious? Thanks