title: Rails Remove child association from parent
body: <p>I have this (Contract and Accessory are associated with has_and_belongs_to_many):</p>
  
  <pre><code># Get the contract and specific accessory based on params
  @contract  = Contract.find(params[:id])
  @accessory = @contract.accessories.find(params[:accessory_id])
  </code></pre>
  
  <p>Now, I'm wanting to remove that specific accessory from @contract. I don't want to delete the record from the DB, but simply want to remove the association between the two.</p>
  
  <p>What's the railsy way of doing this?</p>
  
  <p>Thanks!</p>