I have put my ruby code in heroku. The problem is, i have a form and it has browse button to get the image from user. When clicking on browse it shows the window to choose and after choosing it looks for the image in server and not in the users system. How to make it look at users system for getting the image and store in tmp folder in heroku?
<form action="upload.php" method="post" enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file" >
it’ll be much easier for you to use the very good paperclip gem than to reinvent the wheel on this one.