title: ExtJS 4 associations and store.save()
body: <p>I am using ExtJS 4, and have a model with an association hasMany defined. </p>
  
  <pre><code>ModelA -&gt; hasMany -&gt; ModelB
  </code></pre>
  
  <p>I use GridA to show the data from ModelA. On clicking a record in GridA, I use a rowSelect event to create GridB which use ModelA.ModelB() as a store. </p>
  
  <p>It all goes well until I change a record in ModelB. The record does get updated in the hierarchy, but when I execute StoreA.save(), no change is sent back to the server. It does not notice the changes in associations. How do I save this data, without hacking the architecture?</p>
  
  <p>I am expecting the Model to be able to save, exactly the way it loads.</p>
  
  <p>Also when I change a record in ModelA, it gets sent back as only ModelA and not as ModelA->ModelB, even when that record has ModelB data.</p>
  
  <p>Thanks</p>