title: How to reference parent model from Carrierwave Uploader object
body: <p>I want to run some methods after the upload of a file has been completed via Carrierwave. Carrierwave includes several callback methods detailed <a href="https://github.com/jnicklas/carrierwave/wiki/How-to%3a-use-callbacks" rel="nofollow">here</a>. </p>
  
  <p>I'm planning on using the :store callback.</p>
  
  <p>That's great, but it requires me to run the callback method in the Uploader object instance. This isn't the end of the world, but I want to keep all the logic inside of my parent Model. </p>
  
  <p><strong>My question is: How should I be referencing the parent model from the Uploader? I don't see anything obvious in the documentation?</strong></p>
  
  <p>I suppose I could do something like</p>
  
  <pre><code>ParentModel.last.call_my_method_here
  </code></pre>
  
  <p>but this seems like a very brittle way to code this (not expecting a lot of requests, but still). </p>