I used to be able to submit form data with:
submit: (event, view) ->
@get('store').commit()
Now, after updating to Ember Data 1.0.0beta2, I get this error:
this.get('store').commit is not a function
I'm having trouble finding documentation about the new syntax to use here. Does anyone know how to handle this properly?
In ED Beta 2 ou will have to save models directly, by calling either .save()
or this.get('model').save()