title: Two 1 - N relations in Mongoid (Rails)
body: <p><strong>The scenario is:</strong>  </p>
  
  <p>How can an Account give ratings to another account?   This results in two lists on the Account.   Those who I have rated and those who have rated me.  (my_ratings and ratings_given)</p>
  
  <p><strong>This boils down to:</strong></p>
  
  <p>How can multiple 1 - N relationsips to the same entity work in Mongoid?</p>
  
  <p><a href="http://mongoid.org/docs/relations/referenced/1-n.html" rel="nofollow">In Mongoid's Docs</a> it says you can use <code>has_many</code> and <code>belongs_to</code> to link the entities together.</p>
  
  <p>I currently have this on <strong>Account</strong></p>
  
  <pre><code>  has_many :ratings, :as =&gt; "my_ratings"
    has_many :ratings, :as =&gt; "ratings_given"
  </code></pre>
  
  <p>and this on <strong>Ratings</strong>:</p>
  
  <pre><code> belongs_to :user, :as =&gt; 'Rater'
   belongs_to :user, :as =&gt; 'Ratie'
  </code></pre>
  
  <p>The docs don't cover this case, so I thought you would have to differentiate between the two with an :as parameter.</p>
  
  <p>Is this even remoting correct?</p>