title: multiple belongs_to relationships between two classes in Rails
body: <p>I have a Transaction class. Each object of this class includes one issuing account, one sending account and one receiving account. Each of these is an instance of Account class. In my Transaction table, I have issuer_id, sender_id and receiver_id.</p>
  
  <p>How should I specify relationship between Transaction and Account so that I can call</p>
  
  <pre><code>transaction.issuer
  transaction.sender
  transaction.receiver
  </code></pre>
  
  <p>Thank you. </p>