title: Ember data doesn't append parameters to the query
body: <p>Ember data just doesn't append parameters to the query. I have a tags route like this</p>
  
  <p>example</p>
  
  <pre><code>App.TagsRoute = Ember.Route.extend({
   model: function(params) {
      var tag = params.tag_name;
      var entries = this.store.find('entry', {tags: tag});
      return entries;
   }
  });
  </code></pre>
  
  <p>but this keeps making the same request as this.store.find('entry'). 
  i'm doing it wrong?</p>
  
  <p><strong>Edit:</strong> </p>
  
  <p>My router looks like this: </p>
  
  <pre><code>App.Router.map(function(){
   this.resource('entries', function(){
    this.resource('entry', { path: '/entry/:entry_id/:entry_title' });
   });
   this.route('tags', { path: '/t/:tag_name' });
  });
  </code></pre>
  
  <p>when i request (for example) localhost:8888/#/t/tag <br />
  the value of params.tag_name is 'tag'</p>
  
  <p><strong>edit2:</strong></p>
  
  <p>My REST adapter </p>
  
  <pre><code>App.ApplicationAdapter = DS.RESTAdapter.extend({
      bulkCommit: false,
      buildURL: function(record, suffix) {
        var s = this._super(record, suffix);
        return s + ".json";
      },
      findQuery: function(store, type, query) {
        var url = this.buildURL(type.typeKey), 
        proc = 'GET', 
        obj = { data: query },
        theFinalQuery = url + "?" + $.param(query);
        console.log(url); // this is the base url
        console.log(proc); // this is the procedure
        console.log(obj); // an object sent down to attach to the ajax request
        console.log(theFinalQuery); // what the query looks like
        // use the default rest adapter implementation
        return this._super(store, type, query);
      }
   });
  </code></pre>
  
  <p><strong>edit3:</strong></p>
  
  <p>making some changes to my TagsRoute object i get the next output: <br /></p>
  
  <pre><code>App.TagsRoute = Ember.Route.extend({
   model: function(params) {
      var tag = params.tag_name;
      var query = {tags: tag};
      console.log(query);
      var entries = this.store.find('entry', query);
      return entries;
   }
  });
  </code></pre>
  
  <p><br />
  <strong>console output when i request localhost:8888/#/t/tag</strong></p>
  
  <p>Object {tags: "tag"} <br />
  (host url) + api/v1/entries.json<br />
  GET<br />
  Object {data: Object}<br /> 
  (host url) + api/v1/entries.json?tags=tag<br />
  Class {type: function, query: Object, store: Class, isLoaded: true, meta: Object…}<br />
  <br />
  Ember data is attaching GET parameters. i think my error maybe is the requested url, it should be something like this <br />
  <strong>(host url) + api/v1/tags/:tag_name.json</strong>  <br />
  instead of<br />
  <strong>(host url) + api/v1/entries.json?tags=:tag_name</strong></p>
  
  <p><strong>SOLUTION</strong></p>
  
  <p>the build of ember-data (ember-data 1.0.0-beta.3-16-g2205566) was broken. When i changed the script src to builds.emberjs.com.s3.amazonaws.com/canary/daily/20131018/ember-data.js everything worked perfectly. <br />
  the proper way to add GET parameters is: <br /></p>
  
  <pre><code>var query = {param: value};
  var array = this.store.find('model', query);
  </code></pre>
  
  <p>thanks for your help </p>