title: Carrierwave and Activerecord Multiple Queries
body: <p>I finally diagnosed a problem I have been having querying a table in activerecord. Instead of performing 1 query with Model.all it was calling each one separately. The bug is fixed when I comment out </p>
  
  <pre><code>  mount_uploader :image, ImageUploader
    mount_uploader :home_image, HomeImageUploader
  </code></pre>
  
  <p>For some reason mount_uploader is calling each class instance again and slows down my queries. Has anyone had a similar problem? I saw in the carrierwave github docs to add </p>
  
  <pre><code>require 'carrierwave/orm/activerecord'
  </code></pre>
  
  <p>to my model class but that did not help anything. Also, confused about this line in the carrierwave docs, "Make sure you are loading CarrierWave after loading your ORM". Any suggestions would be much appreciated, thanks.</p>