title: Ember-data model issue: weird request URL
body: <p>I'm trying to build a simple ember application (filebrowser) using an AMD approach (yes i know about @tomdale's views on AMD) based on <a href="https://github.com/fernandogmar/Emberjs-RequireJS" rel="nofollow">https://github.com/fernandogmar/Emberjs-RequireJS</a>, which seems to work nicely except I'm getting a weird request URL when trying to use this DS.Model:</p>
  
  <pre><code>App.File = DS.Model.extend({
      primaryKey: "URI",
  
      url: "file",
  
      URI: DS.attr("string")
  });
  </code></pre>
  
  <p>Called with:</p>
  
  <pre><code>window.App.DataStore.find(File, encodeURIComponent("/"));
  </code></pre>
  
  <p>(Unrelated question: is there any way to get the datastore from within a router or controller with get()? <code>Router.get("DataStore")</code> returns undefined.)</p>
  
  <p>Using the standard unmodified RESTAdapter. Results in the following request URL:</p>
  
  <pre><code>http://127.0.0.1:8020/model)s/%2F
  </code></pre>
  
  <p>I can't figure out what causes this. Presumable the 's' at the end is the adapter trying to pluralize the model name. I don't have a clue where the paren comes from.</p>
  
  <p>Ember version: v1.0.0-pre.2-123-ga352c48</p>
  
  <p>Ember-data version: latest downloaded from <a href="https://github.com/emberjs/data/downloads" rel="nofollow">https://github.com/emberjs/data/downloads</a> yesterday (can't find a version number anywhere).</p>
  
  <p>Could this be related to the AMD approach or is this an unrelated issue, and most importantly: how do i fix it?</p>
  
  <p>Thanks for your time.</p>