I am trying to incorporate audio and picture uploads into my app but I
can’t find very much documentation on the
ActionDispatch::Http::UploadedFile class and I don’t even know
how to create an instance of it from a file in the console.
I am trying to use the gstore gem to handle saving the files to google
storage but all of the functions from this gem seem to need the file to
be on your hard drive and I just want to feed it over virtually.
I am pretty sure I can accomplish this if I can covert the
ActionDispatch::Http::UploadedFile into a string but I don’t know what
message to send to do that.
Any help would be greatly appreciated,