# Update file field

**URL:** <https://www.ruby-forum.com/t/update-file-field/191150>\
**Category:** Rails\
**Created:** [July 6, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/update-file-field/191150 "2010-07-06T15:41:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [July 6, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/update-file-field/191150/1 "2010-07-06T15:41:15Z")

</div>

Hello champs,

I have uploaded a file and saved it in tmp/ location. But now i need to  
update this file field. I mean i need to replace that file with another  
file.  
While uploading, i used this:-  
@Resume = Resume.new(params[:resume]) … This will call my model  
function upload\_resume=() which will actually upload file.

Can you guys tell me/light me/tutorials that how should i update it?

Thanks in advance to you people.
