Upload to Google Drive using paperclip in Rails

Hello, I am new to using ghost google and I don’t know how to use it with paperclip to upload photos to google drive . This is a simple rail application that I develop by uploading photos to google drive , is there any example rails application that I can use to get started with gem or any body can serve as an example here to help us beginners using ghost gem . To download files, you must use Paperclip. Thank you.

+5
source share
1 answer

You will most likely have to implement a carry adapter for Paperclip. Take a look at something like https://github.com/dripster82/paperclipdropbox as an example. In this case, it seems that it only supports downloading to one pre-authorized account. If it’s OK, then changing it for Google Drive instead of Dropbox should be easy. If you need to support multiple users, you need to make sure that the correct credentials are used for the current user.

In any case, paper clip documents are probably the best place to get started :)

+4
source

All Articles