How to connect Rails Grape API with Ember reflexive model
The problem may come from the fact you forget to put double dot in front of your second inverse :
change
Category = DS.Model.extend { name: DS.attr 'string', children: DS.hasMany 'category', inverse: 'parent', parent: DS.belongsTo 'category', inverse 'children' #here}
to
Category = DS.Model.extend { name: DS.attr 'string', children: DS.hasMany 'category', inverse: 'parent', parent: DS.belongsTo 'category', inverse: 'children' #here}