title: Handling images in rails 5
body: <p>I'm developing a api applicacion with Rails 5. From client side I have an Anuglar app.</p>
  
  <p>I have the following requirements to do:</p>
  
  <ul>
  <li>Async upload of images. (Note that implies that the images have no attached to a model at the first time).</li>
  <li>The model to be create can have N images attached.</li>
  <li>For each uploaded image, create M specified thumbnails. (Note that also that thumbnails should be attached to the model.)</li>
  </ul>
  
  <p>I have read about CarrierWave and paperclip but I don't found how can I do all of these requirements.</p>
  
  <p>I will really appreciate any suggestion, lib, gem, etc that covers all of these requirements.</p>