# After using Send\_File

**URL:** <https://www.ruby-forum.com/t/after-using-send-file/106502>\
**Category:** Ruby\
**Created:** [June 11, 2007, 11:55am UTC](https://www.ruby-forum.com/t/after-using-send-file/106502 "2007-06-11T11:55:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitesh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c68b51/32.png) [@mitesh](https://www.ruby-forum.com/u/mitesh)\
**Post date:** [June 11, 2007, 11:55am UTC](https://www.ruby-forum.com/t/after-using-send-file/106502/1 "2007-06-11T11:55:46Z")

</div>

Hi All,

I cannot able to download the file if there is a code after send\_file  
command.

example:

send\_file file\_name  
CustomerFile.update(p.id,{:sku\_state\_id=\>20})

it leads to an error.

Thanking you,  
Mitesh
