title: Rails record query is taking forever and loading each record 1 by 1
body: <p>Here's what the console looks like when I try to load the view:</p>
  
  <p><a href="https://i.stack.imgur.com/GSe5Y.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GSe5Y.jpg" alt="enter image description here"></a></p>
  
  <p>and here's what my call looks like:</p>
  
  <pre><code>&lt;% Review.where(product_id: product.id, shop_id: ShopifyAPI::Shop.current.id).limit(20).each do |review| %&gt;
  </code></pre>
  
  <p>Even if I put a .limit on the query like I did above it still loads each record individually and takes a long time. I looked into .includes which is supposed to stop the N+1 queries but I can't use that (as far as I know) since the products come from the Shopify API (an active record collection I believe) and the reviews are the only thing that I have hosted in the database.</p>
  
  <p>Can anbody give me some tips on how to fix this mess?</p>