title: How to get fields from the child table in the result set
body: <p>I have join between two tables. Instruments is the parent table and Statuses are the child table. I am looking only to retrieve those instruments having the inst_status = 'Active' in the child Statuses table.</p>
  
  <pre><code>i = Instrument.joins(:statuses).where("statuses.inst_status='Active'")
  </code></pre>
  
  <p>The resulted query generated is:</p>
  
  <pre><code>SELECT "instruments".* FROM "instruments" INNER JOIN "statuses" ON "statuses"."instrument_id" = "instruments"."id" WHERE (statuses.inst_status='Active')
  </code></pre>
  
  <p>Which is OK it is returning only 55 instruments which are Active.
  However, how can I get the fields from the Statuses (child) table in the result set along with the fields from the (parent) Instruments table?</p>