By default when using model.save() Can will send the JSON to the server a flat object:
{foo:1, bar:2 ...}
However our backend is expecting something like:
model[foo], model[bar]. Meaning that is expecting json like:
{model: { foo:1, bar: 2}}
How can I instruct CanJS to do this on model.save() ?
Thanks