When a regular model.save is done, data along with embedded params are posted back to the rails backend. But I have customised the active model adapter with a formdata object as used in ember-cli-form-data ember add-on.
However, this embedded params are sent as [object Object]. Tried json.stringify() but dint work out either.
Am I missing something?
Aucun commentaire:
Enregistrer un commentaire