title: Rails 5 - How to convert from array to activerecord relation?
body: <p>In rails 5, I have written a query like <code>User.where("id = #{current_user.id}").include_associations.order(created_at: :desc)</code></p>
  
  <p>This is returning a list like <code>[#&lt;User id: 15, name: "Shruthi", ...&gt;]</code>.</p>
  
  <p>How can I get only activerecord data here(array is not required)?
  I want a list like <code>#&lt;User id: 15, name: "Shruthi", ...&gt;</code></p>