title: Rails 3 + JQuery-File-Upload + Nested Model
body: <p>I've been searching for some examples, but have come up short:</p>
  
  <p>I'm trying to implement JQuery-File-Upload on a project I'm working on, but am getting lost as to how to get it to work with nested attributes.</p>
  
  <p>Quick overview:</p>
  
  <p>2 Models:</p>
  
  <pre><code>Comment [has_many :attachments]
  Attachment [belongs_to :comment]
  </code></pre>
  
  <p>Comment accepts_nested_attributes_for <code>:attachments</code>.  Also - I'm using Dragonfly.</p>
  
  <p>I've reviewed the Rails 3 guides on the JQuery-File-Upload site, but they assume it's a singular model, so it's all built around a form.  Does anyone have any examples of their implementation or is there an existing tutorial that I haven't yet stumbled across?</p>
  
  <p>I'm sure someone has had a similar issue... is JQuery-File-Upload to appropriate tool or should I look at something else?  </p>