title: How to copy images using amoeba gem in rails?
body: <p>I am using amoeba gem for duplicating record and i am using carrierwave for uploading images.</p>
  
  <p>I tried to copy the images from the associated model using amoeba, it only copies the data from the original record(it copies only icon name,file attributes in the database), but the images are not present in filesystem (in Public folder)</p>
  
  <p>This is my model</p>
  
  <pre><code>class Book &lt; ActiveRecord::Base
    has_many :images
    self.class.amoeba do
      include_field [:images]
    end
  end
  
  class Image &lt; ActiveRecord::Base
    belongs_to :book
  end
  </code></pre>
  
  <p>I used the following method</p>
  
  <pre><code>duplicate = @book.amoeba_dup
  duplicate.save
  </code></pre>
  
  <p>I tried with the following in Book model</p>
  
  <pre><code>amoeba do
      include_field :images
  end
  </code></pre>
  
  <p>Help me to solve this</p>