I am having a problem with uploading files. I want to allow users to upload files that the system allows...
For example, I allow files having an extension of *.j
<%= file_field_tag :file, accept: 'image/jpg'%>
on rails 5.2