title: Rails: User has_many :recommendations :through other users
body: <p>I have a rails project where users have_many :recommendations. A user also has_many followers and following through connections:</p>
  
  <pre><code> has_many :recommendations
   has_many :followers, :class_name =&gt; 'Connection', :foreign_key =&gt; 'user_id'
   has_many :following, :class_name =&gt; 'Connection', :foreign_key =&gt; 'follower_id' 
  </code></pre>
  
  <p>When a user creates a recommendation, their followers should be able to access that recommendation.</p>
  
  <p>So I'd like to be able to call following_user.following.recommendations to get recommendations from <em>all</em> the people that user is following.</p>
  
  <p>What's the railsy way to do this with ActiveRecord?</p>