On Feb 2, 4:52 am, Tushar Gandhi <[email protected]> wrote:
> Hi,
> Thanks for your reply, but still it is not working.

send_data expects you to be giving it the actual bytes to send, not a
url or a file path. You need to read the file yourself (or use
send_file which will take care of that)

Fred
>
> Any other suggestion.
>
> Thanks,
> Tushar
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to