After using Send_File

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