title: How to load hasMany in Ember?
body: <p>I have two models:</p>
  
  <pre><code>App.Offer = DS.Model.extend({
      name: DS.attr('string'),
      description: DS.attr('string'),
  
      products: DS.hasMany('product')
  });
  
  App.Product = DS.Model.extend({
      name: DS.attr('string'),
      description: DS.attr('string'),
  
      offer: DS.belongsTo('offer')
  });
  </code></pre>
  
  <p>And the server is answering with record and array of ids in this way (for example if the rest adapter asks for /offers/1):</p>
  
  <pre><code> { "offer": [ { "id": 1, "name": "aaaaaaaaa", "description": "aaaa", "product_ids": [ 1, 2 ] } ] }
  </code></pre>
  
  <p>but now how can I get the products? I have a route like this:</p>
  
  <pre><code>App.OffersRoute = Ember.Route.extend({
      model: function() {
          var offer = this.get('store').find('offer', 1);
          return offer
      }
  });
  </code></pre>
  
  <p>In Ember guide is written that if you want the products you should do:</p>
  
  <pre><code>offer.get('products');
  </code></pre>
  
  <p>Ok, but where should I put this? in the model hook? in a Controller property?
  I've tried many things but I can see no network request to products?id[]=1&amp;id[]=2 as I expected (the server is responding correctly to this request);</p>
  
  <p>Can someone please give an example showing how I can find an offer, its products and use this data in my template?</p>