title: How to call an Ember data function directly?
body: <p>Is there a way to call an Ember data function, e.g. the <code>serialize</code> <a href="https://github.com/emberjs/data/blob/761412849a56ad086c44659faafa547d8f6c03a8/packages/ember-data/lib/system/serializer.js#L353" rel="nofollow">function</a>, directly inside my main javascript of the index page?</p>
  
  <p>I tried <code>DS.Serializer.serialize(myrecord)</code>, but I got this error: <code>has no method 'serialize'</code>.</p>
  
  <hr>
  
  <p>Additional question: </p>
  
  <p>How can I directly call the <a href="https://github.com/emberjs/data/blob/761412849a56ad086c44659faafa547d8f6c03a8/packages/ember-data/lib/serializers/rest_serializer.js#L17" rel="nofollow">RESTAdapter's version of serialize</a>?  They have made some modifications to the <a href="https://github.com/emberjs/data/blob/761412849a56ad086c44659faafa547d8f6c03a8/packages/ember-data/lib/system/serializer.js#L353" rel="nofollow">generic serialize</a>.</p>