title: Outer Join The Rails 3 Way
body: <p>i have 3 models like :</p>
  
  <pre><code>location, user, discovered_location(location_id,user_id)
  </code></pre>
  
  <p>I think i need an outer join in order to get all locations, as well as include the discovered_location model, if that location has been discovered by the user.</p>
  
  <p>I would need something like <code>{location1, location2, location3:includes discovered_location, location4 ..}</code></p>
  
  <p>Is there a Rails 3 way to do that ? If not, what is the best way ?</p>
  
  <p>EDIT</p>
  
  <p>I want to get the locations specified above, for a certain user. To better illustrate, it should be :</p>
  
  <p>user <code>{location1, location2, location3:includes discovered_location, location4 ..}</code></p>
  
  <p>(A user has many discovered locations)</p>