ActiveModelSerializer can serialize hasMany ids.

Sometimes you want to save data in HABTM on server-side.

You can serialize a hasMany collection defining your custom seiralizer:

  DS.PostSerializer.extend({
    attrs: {
      embedded: 'always',
      ids: true
    }
  })
Merge branch 'f_activeModelSerializer'