In my app I don’t use ember-data, so how I can save an object with updated attribute?
I use .set() to change object’s attribute, but how to do the trick?
In my app I don’t use ember-data, so how I can save an object
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This isn’t a complete question in any possible sense. Assuming you are trying to save a model to a persistence layer, you will need to send an XHR to your server with the model’s fields serialized. Your server will then need to return a response that you parse in the XHR’s callback that you use to update your model on the client-side.
If you want a more detailed answer you must ask a more detailed question.