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
With HTML5 you can use the :accept for limiting mime-types, like so:
<%= file_field_tag :csv_file, :accept => 'text/csv' %>