Hello everyone I am trying to get an image upload system working on my
site. I am at the final stage of the most painful programming experience
of my life any help would be greatly appreciated.
in my model I have
#@profile_picture is passed in the controller from params from a
trgs = TRGoogleStorage::obtain_client
self.avatar_google_name, @profile_picture )
I have tested trgs.add_file_to_bucket with files from my hard drive and
it works. I don't want to write a file to my hard drive though I just
want to feed it to google storage.
TRGoogleStorage::obtain_client simply makes a client from the gem GStore
and has a bunch of wrapper functions in-case I change to S3 or
Thank you everyone.
Posted via http://www.ruby-forum.com/.