title: How to use paperclip to handle multiple file types
body: <p>How possible is it to use one single paperclip field to handle for different file types. For example, I have a file model with with a paperclip method that says:</p>
  
  <pre><code>has_attached_file :file
  </code></pre>
  
  <p>This file can be a picture, audio, video, or document.</p>
  
  <p>If it's a picture, how can I make it such that the <code>has_attached_file :file</code> would be able to handle pictures in this way:</p>
  
  <pre><code>has_attached_file :file, styles: {thumb: "72x72#"}
  </code></pre>
  
  <p>Then if it's other document types, it would work just as normal without the style so I don't have to create fields for different file types.</p>