These are chat archives for canjs/canjs

15th
Jan 2015
Luis Merino
@Rendez
Jan 15 2015 15:02
quick question, if I want a can.Model to send data wrapped in a key on save(), what's the best way to accomplish that? e.g. myModel.save() sends {data: {updated_at: 'xxx', title: 'yyy'}}, instead of {updated_at: 'xxx', title: 'yyy'}
Luis Merino
@Rendez
Jan 15 2015 15:13
Another quick question, is it possible to have models use save() for PATCH requests? therefore only sending modified fields