title: Setup a relation from one model to another, using multiple associations
body: <p>I'd like to know how to setup a relation from one model to another, but through multiple associations.</p>
  
  <p>In this example there is a <code>Member</code> model, a <code>Sportsorginazation</code> model, a <code>Basketballclub</code> model and a <code>Footballclub</code> model (for the sake of this example it is necessary to have these clubs defined as different models).</p>
  
  <p>Let's say this Sportsorganization has multiple Basketballclubs and multiple Footballclubs. The Basketballclubs and Footballclubs both have many members.</p>
  
  <p>How would I get all the members from the sportsorganization?</p>
  
  <p>I can imagine to have something like:</p>
  
  <pre><code>class Sportsorganization
    has_many :basketballclubs
    has_many :footballclubs
    has_many :members, :through =&gt; :basketballclubs
  end
  </code></pre>
  
  <p>But how would I get all the members from both the basketballclubs and the footballclubs? I know that you can make an alias for members and let Sportsorganization have basketballclubmembers and footballclubmembers, but is it also possible to get all members using basketballclubs and footballclubs?</p>