title: Rails HABTM or has_many?
body: <p>I have two models: Person, and Property.  In the Person model I have a field which stores the role of the person(tenant, owner, admin, contractor, etc).  Since each property will belong to an owner and potentially have one or more tenants, I thought this would be a good opportunity to use the HABTM model relation.</p>
  
  <p>Do I have this right?</p>
  
  <p>Also, how do I reference the attached model?  Assuming my join model is named PropertiesPeople, and I wanted to fetch the tenants for a particular property, would that be the following?</p>
  
  <pre><code>@property.people.where(:role =&gt; "tenant")
  </code></pre>