title: Multiple Associations to Same Model
body: <p>I have two classes that I would like to specify as follows:</p>
  
  <pre><code>class Club &lt; ActiveRecord::Base
    belongs_to :president, :class_name =&gt; "Person", :foreign_key =&gt; "president_id"
    belongs_to :vice_president, 
               :class_name =&gt; "Person",
               :foreign_key =&gt; "vice_president_id"
  end
  
  class Person &lt; ActiveRecord::Base
    has_one :club, :conditions =&gt; 
    ['president_id = ? OR vice_president_id = ?', '#{self.id}', '#{self.id}']
  end
  </code></pre>
  
  <p>This doesn't work and gives me an error when trying to get the club association from the person object.  The error is because is looking for person_id in the club table when I looked at the SQL. I can get around it by declaring multiple has_one associations, but feel like this is the improper way of doing it.</p>
  
  <p>A person can only be the President or Vice President of one club.</p>
  
  <p>Anyone able to offer a little bit of advice on this issue, I would be very appreciative.</p>