title: Rails: polymorphic model or different models for different sizes of images?
body: <p>I got a RoR application and have a <strong>Photo</strong> model that belongs to a <strong>Car</strong>.</p>
  
  <p><strong>Photo</strong> stores an image that is resized by 200x200>.</p>
  
  <p>Now I have to add another entity with some other type of images into my app (<strong>CarModel</strong> class and its photos). </p>
  
  <p>It would be nice if I could use Photo via polymorphic associations with other models. BUT: it seems that I will have to use another type of thumbnails for this class (not 200x200>).</p>
  
  <p><strong>What should I do?</strong></p>
  
  <ol>
  <li>Create CarModelPhoto class and use it with Car model?</li>
  <li>Add polymorphc associations so that Photo could belong to other classes that Car.</li>
  <li>Use tools (like Blitline or Cloudinary) that resize images on the fly so that Photo's image stops being limited to 200x200px. - But I store images on S3 - it seems like it would be bad for performance.</li>
  </ol>