or this version is the same thing:

f = S3Object.value @bucket, 'mybucket'

On Jan 30, 3:22 pm, Me <chabg...@gmail.com> wrote:
> Anyone?  I can see the file contents in the log file if I logger.info
> f.
>
> On Jan 29, 10:15 pm, Me <chabg...@gmail.com> wrote:
>
> > I am trying to get a file from the amazon bucket but it says "string
> > contains null byte".  any idea how to get the file to download like a
> > regular file?  The file is there at the location.
>
> > f = Heypub.value @bucket
> > send_file( f , :type => "FileExtns[ext]['mime']", :disposition =>
> > 'attachment')

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to