View Full Version : Sench touch model object save method saves association too(unwanted)

21 Jul 2011, 11:21 PM
For last few days I have been trying to play with Sencha Touch. I have not had much of the luck with it. There is one thing which is really driving me mad. I have two models named Question and Answer. When I try to save my question after having visited the Question show page with its answer and a form to create more answers for the question, question.save() sends a request to create an empty answer too to the server.

I have created this (https://gist.github.com/1098998) Gist with the application code.
Few of the images might make it more clear.