Form Helper
Back to Web-Dev
File upload is done with
f.file_field
uploads an object in the params hash, instance of subclass of IO
includes
original_filename
,
content_type
which is the MIME type (Multipurpose Internet Mail Extensions)