title: Rails Get Nested Relationship as ActiveRecord object without collect/map
body: <p>As an example:  </p>
  
  <p>A <code>company has_many employees</code></p>
  
  <p>an <code>employee has_many tasks</code></p>
  
  <p>I want to get all the tasks in descending order.  Ideally, I'd like to do something like <code>Company.all.employees.tasks.order('created_at desc')</code>.  Unfortunately, by the time I get through <code>employees</code>, I now have an array of ActiveRecord objects.  I've been running into this issue for a while, and I've just been using <code>map</code> and <code>collect</code>, but sorting in descending order makes for more overhead than I want.  This can be done with a SQL query so I'm sure I can do it in ActiveRecord, but my research hasn't helped much.</p>
  
  <p>EDIT:
  The solution should work for any number of models.  For example, if a <code>task has_many items</code> and an <code>item has_many sub_items</code> ad infinitum.</p>