title: ActiveStorage rails : limit the number of files uploaded
body: <p>I want to limit user to select up to 2 files (in the input tag ?).</p>
  
  <pre><code> &lt;%= f.file_field :images, multiple: true %&gt;
  </code></pre>
  
  <p>I would like to limit user to select up to 2 files (front and backoffice). </p>
  
  <p>Is there a way (preferable a hard coded option) to limit the number of files that user can select?</p>