title: ActiveRecord - How to join association with pure SQL query
body: <p>I'm doing the following query:</p>
  
  <pre><code>TaskCheck.find_by_sql ["SELECT task_checks.*, tasks.* FROM task_checks INNER JOIN tasks ON task_checks.task_id = tasks.id"]
  </code></pre>
  
  <p>It returns TaskCheck objects but when I try to read a Task field(joined in the query) then  ActiveRecord does a separate select query for each object. It's lazy loading my association even if I'm joining it. How do I fix that?</p>
  
  <p>PS: I want to use pure SQL. The reason is because AR "includes" method executes a second SELECT for the association which is inneficient for a one-to-one association and I want the best perfomance possible.</p>