mardi 7 août 2018

How to upload and download a file in ruby on rails?

I am fairly new to rails. I have a controller 'Links controller' where I have defined: def gen file.open() .... where I open and edit a file. I want the user to upload a file and the edited file gets automatically downloaded. How do I go about creating the view?

Aucun commentaire:

Enregistrer un commentaire