for a file_field field I would like to make a required: true but without the view returning a (*) and also specifying the return message if a file is empty.
example: <%= f.file_field :file, required: true, label: ' '.html_safe %>
someone to guide me please.
Thanks in advance I'm new to ruby