Questions tagged [shrine]

Shrine is a file upload toolkit for Ruby, it's designed to be simple, extensible, secure and fast, and provides an abstraction for different storages.

Shrine is a file upload toolkit for Ruby with the following characteristics:

  • It's composed entirely out of plugins, making it very extensible and flexible

  • It makes direct AJAX uploads to the application or S3 dead easy

  • It's designed from day one with backgrounding in mind (Sidekiq, Resque etc.), but it still retains seamless user experience

  • It provides a simple instance-level interface for file processing and validations

  • It comes with filesystem and S3 storage, but provides nice abstraction for other storages as well

It was created and is currently maintained primarily by Janko Marohnić.

141 questions
0
votes
0 answers

dropzonejs and jQuery File Upload presigned files not working

I'm using shrine and jQuery File Upload to upload files directly to Amazon S3, but I'm having problems to make it work with dropzone.js. When I use dropzone.js with no javascript everything works fine. But if I try to use options with dropzone.js…
exsnake
  • 1,767
  • 2
  • 23
  • 44
0
votes
2 answers

AWS S3 Bucket Endpoint Failing

I am building a web app in Rails 5, Ruby 2.4.0 and using the AWS-SDK Gem along with Shrine gem. Currently I get this error message when I try to upload an image to my AWS Bucket. I have verified my region here:…
Shawn Wilson
  • 1,311
  • 14
  • 40
0
votes
1 answer

How to handle multiple file formats in Rails?

Let's say I got a project which has something like a media pool. Basically I wanna be able to upload whatever file you could upload (images, videos, pdf, etc.). I was thinking about going with refile since it supports on-the-fly-processing of images…
Andre Zimpel
  • 2,323
  • 4
  • 27
  • 42
0
votes
0 answers

rails using tus protocol and shrine occurred error

I tested tus protocol with shrine. and I followed tutorial this link But on create action(app/controllers/albums_controller.rb) ocuured error undefined method `close' for nil:NilClass Did you mean? clone On debugging error occured this…
kai
  • 492
  • 3
  • 18
-1
votes
1 answer

Can someone provide an example of shrine/rails with multiple images?

my rails app has an model named listing and for a listing i need to upload multiple photos. so the Photo model also has a position so i can order them. trying to do this with shrine despite all the information all attempts fail. can someone provide…
Peter Van de Put
  • 878
  • 10
  • 26
-1
votes
1 answer

Using Shrine uploader with Google Drive

I'm looking for an image and PDF upload solution for a Rails 4.2 app. Can shrine be used with Google Drive? I see documentation for use with Google Cloud Storage, but nothing about Google Drive. Thanks
1 2 3
9
10