In my controller I have:
save: function() { this.get(‘model’).save(); }
I can see in my serializer that the same record is being serialized. How can I solve this?
In my controller I have:
save: function() { this.get(‘model’).save(); }
I can see in my serializer that the same record is being serialized. How can I solve this?
I think I found the problem:
The model has a lot of relations so I have changed in the serializer the attributes from embedded: ‘always’ to serialize: ‘ids’,deserialize: ‘records’