override addHasMany of JSONSerializer to include an array of ids when serializing a non-embedded has-many relationship. The default ember-data assumption is that the update of the relationship would take place in the other model, causing the JSONSerializer to not include the array of ids.

This modification preserves the behavior when embedded=always, but now includes the array of ids.
Merge pull request #31 from craigteegarden/missing-hasmany-array-on-commit

add failing test: when saved, a model with a hasmay relationship does no...
update gems
bump version to 0.13.1
update cdnjs links in README
update to ember-source 1.0.0.rc7
Add server based pagination support

Automatically discover paginated results by looking for a `results` array
in the response from djang-rest-framework. If results are paginated, create
a `pagination` object in the metadata. This `pagination` object contains :
- count: total number of objects
- current: current page number
- previous: previous page number, or false
- next: next page number, or false

To use the `pagination` object in your controller, you can define a new Mixin
and add it to your controller.

App.PaginationMixins = Ember.Mixin.create({
    pagination: function() {
        if(this.get('model.isLoaded')) {
            var modelType = this.get('model.type');
            return this.get('store').typeMapFor(modelType).metadata.pagination;
        }
    }.property('model.isLoaded'),
});

Define some routes:

App.Router.map(function() {
    this.resource('myobjects', { path: '/myobjects' }, function() {
        this.route('page', {path: '/page/:page'});
    };
});

App.MyobjectsIndexRoute = Ember.Route.extend({
    redirect: function() {
        this.transitionTo('myobjects.page', 1);
    },
});

App.MyobjectsPageRoute = Ember.Route.extend({
    model: function(params) {
        return App.Object.find({page: params.page});
    },
});

In your template:

{{#if pagination.next}}
  {{#linkTo 'myobjects.page' pagination.next}}next{{/linkTo}}
{{/if}}
Add unit testing for server based pagination
Merge pull request #33 from lmeunier/pagination

Add server based pagination support
added pagination documentation to the readme
switch back to emberjs/ember-dev at master (ember-data support merged)
Add information about pages and items in the current page

The pagination object stored in the metadata now contains more
information:
- total number of pages
- index of the first item in the page
- index of the last item in the page
- number or items per page
Merge pull request #34 from lmeunier/pagination

Add information about pages and items in the current page
Updated readme to mention the ember 1.0 branch