paperclip Questions
2
Solved
After updating my Rails application from Rails 6.0.1 to Rails 7.0.2.3
I am getting issue with the gem "paperclip", '~> 6.1.0'
while using it in application is gives error:
ActionView::...
Perlie asked 24/4, 2022 at 18:29
3
I'm trying to attach CSV files to a Rails3 model using paperclip 4.1.1, but I'm having trouble getting the content-type as reported by S3 to be text/csv (instead I am getting text/plain). When I su...
Footgear asked 17/4, 2014 at 4:40
2
I have a directory of <20MB pdf files (each pdf represents an ad) on an AWS EC2 large instance. I'm trying to upload each pdf file to S3 using ruby and DM-Paperclip.
Most files upload successf...
Pareira asked 15/8, 2013 at 1:14
4
Solved
I have a Problem when I deploy my application on google cloud I get this error
has contents that are not what they are reported to be
Locally it works fine! I already tried to using the comma...
Faggot asked 26/3, 2016 at 21:3
6
I have Fujitsu fi-6130 TWAIN / ISIS scanners that I'd like to trigger from a button in a jQuery Rails web page. Not only would I like to have the page tell the scanner to "go", I'd also l...
Callipygian asked 17/8, 2010 at 15:39
2
ruby - 2.7.2
rails - 6.0
paperclip - 6.1.0
I am getting following warning in my console, while using paperclip gem with ruby 2.7.2
/Users/***/.rvm/gems/ruby-2.7.2/gems/paperclip-6.1.0/lib/pape...
Gassing asked 17/4, 2021 at 3:49
2
Solved
I have a call to my documents controller the download action, to serve the client with a downloadable object retrieved from s3. However OpenURI seems to have trouble parsing the url paperclip has s...
Urnfield asked 26/6, 2013 at 14:55
3
Solved
I am using paperclip gem to upload files. and my paperclip gem version is paperclip-4.1.1. While uploading a file its throwing
Validation failed: Upload file has an extension that does not match ...
Aerometeorograph asked 13/5, 2014 at 11:23
2
Solved
So I have this Dockerfile that attempts to install ImageMagick the following way:
FROM ruby:2.4-alpine
...
RUN apk --update add imagemagick
...
The point is that the container doesn't recogni...
Crawly asked 26/9, 2017 at 0:1
3
model.rb:
has_attached_file :image
validates_attachment :image,
:content_type => { :content_type => ['image/svg+xml'] }
Results in: "Image has an extension that does not match its content...
Kurland asked 28/3, 2014 at 14:39
3
Solved
I have a RoR app with image upload through paperclip and amazon s3. Everything was working fine until I decided to change the routes from myapp.com/id to myapp.com/model-name. Now I get the followi...
Alic asked 25/2, 2013 at 23:21
7
Solved
I want to store received email attachment with usage of paperclip. From email I get part.body and I have no idea how to put it to paperclip'ed model. For now I create temporary file and write port....
Weekley asked 2/3, 2011 at 11:24
7
Solved
I'm using Paperclip / S3 for file uploading. I upload text-like files (not .txt, but they are essentially a .txt). In a show controller, I want to be able to get the contents of the uploaded file, ...
Deeplaid asked 2/7, 2011 at 6:30
9
Solved
I'm trying to upload images to aws s3 with paperclip but I get this error
Command :: file -b --mime '/var/folders/d_/k4_ps9hj5fj_3df5t210vjym0000gn/T/2611a2396a4af6938e5c5867c8bb409f20140515-7787...
Tymothy asked 15/5, 2014 at 22:14
4
Solved
I have two models like this:-
Model 1 - card - contains a representation of data of interest for front page
attachment name = cardimage
Model 2 - user - contains the user
attachment name = avat...
Gouty asked 8/1, 2013 at 21:9
6
Solved
I am using Paperclip (w/ Amazon s3) on Rails 3. I want to delete an existing attachment without replacing it using an update action.
I've only found one example of this here and could not get that...
Braiding asked 14/12, 2010 at 4:19
2
The documentation for Paperclip mentions that you can change the upload path for tests by placing the following code in the test.rb environment file:
Paperclip::Attachment.default_options[:path] =...
Rainbow asked 3/5, 2016 at 13:28
2
The app I'm building allows a user to upload a file. The file is uploaded to Amazon S3 in a private bucket.
Then users can download the file, which we allow by creating a time expiring URL:
AWS:...
Schooling asked 13/1, 2012 at 19:44
6
Solved
I'm using the following for file uploading: Rails 3.2, Paperclip (3.0.4), aws-sdk (1.5.2) & jQuery-File-Upload
Problem is office files like (pptx) are being downloaded as zip files not pptx fi...
Ponder asked 30/5, 2012 at 1:2
1
I want to upload an image to S3 and save to user record with NodeJS, just like the Rails Paperclip gem.
I believe this should be the process, but again I'm quite confused about how this package s...
Counterreply asked 15/7, 2019 at 21:43
2
I have a paperclip text file attachment (in Rails).
My bucket policy is:
{
"Version": "2008-10-17",
"Id": "Policy123",
"Statement": [
{
"Sid": "Stmt123",
"Effect": "Allow",
"Principal": {
...
Epps asked 26/10, 2012 at 20:22
8
Solved
Please suggest me a way to save an image from an URL by Paperclip.
Tintinnabulum asked 29/10, 2010 at 7:7
2
Solved
Until now, I have been using Amazon S3 for storing users' files.
All what has been needed to do here was:
specify Amazon S3 credentials to the bucket
add 'aws-sdk' gem to the Gemfile
and in the ...
Wadley asked 31/7, 2014 at 12:21
3
Solved
I am looking for a solution to give the user the ability to upload multiple images through one file_field. I have looked in to options such a Jquery File Upload and Uploadify but have yet to come a...
Horseradish asked 6/6, 2012 at 20:14
1
Solved
I'm trying to convert a Rails app over from using Paperclip to ActiveStorage and I'm running into an issue with the ConvertToActiveStorage migration script provided in the migration guide.
https:...
Potentiate asked 23/1, 2019 at 18:56
1 Next >
© 2022 - 2024 — McMap. All rights reserved.