Data dodania Pytanie
2018-02-15 09:02 Problems with paperclip on Rails 5 »
I've created a new project with Rails 5.0.0 and Ruby 2.5 on my local mac with macOs 10.12. Now I'm trying to add paperclip to this project but still ...
(1) odpowiedzi
2018-01-06 23:01 Ruby on Rails: Help in multiple image upload using paperclip with different process »
I have 3 models: Post, Comment, and Image (I am using paperclip gem BTW) What I am trying to achieve is that users can comment on post. Also, if the...
(1) odpowiedzi
2018-01-04 08:01 Dynamic size styling in paperclip »
I have searched for this, I got the some idea from Resize missing.png depending upon style in paperclip but not the exact solution of the following sc...
(2) odpowiedzi
2017-12-28 14:12 Undefined Method Error in ruby on rails, when trying to produce a nested json format using to_json? »
This is the product model in my gems lib s4s models folder: module S4s module Models class Product < ActiveRecord::Base self.table_...
(1) odpowiedzi
2017-12-16 14:12 Conditionally generate style of Paperclip attachment »
I am working on an advanced usage of Paperclip. I have file uploading (images or video) functionality in my project using Paperclip. And I want to ge...
(1) odpowiedzi
2017-12-06 17:12 paperclip resize not working for dynamic columns on attachment model »
I have a two columns on my attachment model on which the user sets the dimension to which they want to resize the image. However, the variables when ...
(0) odpowiedzi
2017-11-12 16:11 Rails paperclip error undefined method `before' for false:FalseClass when attaching image to model »
I have a model named Question that I want to attach a file to (diagram) using Paperclip (5.0.0). When the model is saved I get this error: undefined...
(1) odpowiedzi
2017-10-03 06:10 Trimming and Compression the image of paperclip using rake task »
I want to trimming the image of paperclip in my database. Because I`m running my own private web service, but I forgot to add the styles when user cre...
(1) odpowiedzi
2017-08-22 18:08 getting "undefined method `url' for "":String" Using paperclip in Ruby on Rails »
I'm getting this error on theapp/views/cart/_cart.html.erbpage of an E-commerce app I'm building undefined method 'url' for "":String Did you mean? U...
(1) odpowiedzi
2017-08-06 06:08 Rails: How to add progress bars for image uploading using Paperclip »
I apologize for the newbie questions, still learning Rails. I'm using the Paperclip gem alongside Jquery File Upload Gem to handle my image uploading ...
(0) odpowiedzi
2017-08-04 17:08 Showing random Product images from same category as the selected product is in. ROR app »
I'm modifying a Rails app I've been working on. I installed a model images.rb to handle all images for products. When the user has selected a produc...
(1) odpowiedzi
2017-08-03 19:08 Displaying multiple paperclip images from database in ROR app. many relations »
I'm very new to ROR and I'm building an ROR app where each product can have many images. Im using paperclipfor the image upload. To do that I added ...
(1) odpowiedzi
2017-06-24 14:06 `require': cannot load such file -- paperclip/matchers (LoadError) »
I am using rails 5.1.1 & ruby 2.3.1 When i execute rspec i get following error `require': cannot load such file -- paperclip/matchers (LoadEr...
(1) odpowiedzi
2017-06-21 21:06 Rails, Paperclip, Amazon S3, and Rspec testing - user.avatar object not being set to nil »
So I have a setup with Paperclip, Amazon S3, and I'm testing with RSPEC trying to delete the User.avatar object. My delete method is: @user.avatar....
(2) odpowiedzi
2017-06-10 16:06 How to upload images for ruby on rails app using paperclip gem onto IBM Bluemix Object Storage using S3 API? »
I have been using the tutorial: https://devcenter.heroku.com/articles/paperclip-s3 For adding images to S3 storage on AWS, but now want to use IBM's ...
(2) odpowiedzi
2017-06-08 07:06 Paperclip image not showing, unpermitted params and routing error »
I'm trying to display images on the homepage with paperclip and I have unpermitted params and a routing error. I have tried various solutions includin...
(1) odpowiedzi
2017-06-04 16:06 AWS paperclip Rails. Working but when I upload image it updated all objects in Heroku »
I've update my Rails app to store uploaded images in an AWS bucket when in production mode. It's working fine and I can see the image getting uploaded...
(1) odpowiedzi
2017-05-11 10:05 Find child resources' total attachment storage usage - Paperclip Rails »
I am building a rails app which has the models Users, Album (as in photo album) and Photo, nested in that order. I want to be able to find the total s...
(1) odpowiedzi
2017-04-29 08:04 Using paperclip gem How to persist image file_path instead of file_name »
I am using paperclip gem to upload files to S3, and also want to save the complete s3 filepath in image_file_name column in database.However only file...
(0) odpowiedzi
2017-04-27 15:04 Rails 4 + Paperclip: How do I grab the URL to a paperclip file »
I am using the Active Model Serializer Gem in my Rails API and I cannot seem to grab the URL to the images associated with a record. For example, I h...
(1) odpowiedzi
2017-04-24 20:04 fixture_file_upload gives a "{***} has an extension that does not match its contents" from paperclip model rails 4.2.1 »
I'm having this issue with uploading paperclip documents with rails fixture_file_upload (after upgrading rails version) Knowing that paperclip 4.0 an...
(1) odpowiedzi
2017-04-19 12:04 Dropzone JS Unpermitted Parameters In Rails 4 »
I've been struggling with this issue all night. I'm trying to upload multiple "Photo" models with Dropzone.js with the paperclip attribute "attachment...
(1) odpowiedzi
2017-02-06 15:02 Paperclip before upload callback »
I am working on a rails application that uses Timecop gem for "time traveling" and I have a problem... When I try to upload a file on Amazon S3 using ...
(1) odpowiedzi
2016-12-31 19:12 Rails Paper Clip upload not working... No error thrown, rolls back transaction »
EDIT: I've managed to get it to start throwing errors by changing the model to this: class User < ApplicationRecord has_secure_password h...
(1) odpowiedzi
2016-12-26 10:12 Match duplication of the uploaded PDF document? »
I am looking at for preventing the duplication of the same pdf document with one of my application. I know it's quite an easy task along with the nam...
(2) odpowiedzi
2016-12-16 15:12 How to select all records having an attachment? »
I'm using rails4 with paperclip. On one of my forms I would like to list only the records of a resource having a paperclips attachment. Is there any ...
(1) odpowiedzi
2016-12-02 10:12 How to persist Bluemix files between app restarts »
I am using a rails 4 application on Bluemix, attaching files using paperclip gem. As we all know, Paperclip is saving a reference to that file in the ...
(2) odpowiedzi
2016-11-28 17:11 AJAX call to rails controller for image not finding correct file path »
I have an image that is reachable in ruby by <%= image_tag(@user.avatar.url(:thumb)) %> Images are stored using paperclip, and there is a de...
(0) odpowiedzi
2016-11-19 05:11 Paperclip's attachment to be in UUID instead of natural id »
I have a table model that has uuid as its primary key and it has a paperclip attachment. When I upload the file, it gets truncated into 3 folder with ...
(1) odpowiedzi
2016-11-07 08:11 Sample rails4 application with REST API which uses paperclip to upload to Amazon S3 »
Can someone share me a sample application , that has REST APIs to upload images to Amazon S3 . I've googled a lot , but most of them are not working a...
(1) odpowiedzi
2016-09-25 15:09 Rails active record::not found using friendly id and slug recognition »
ive set up my rails app to use friendly_id and paperclip and i've added the slug column to the 'designs' database table using a migration. When I crea...
(2) odpowiedzi
2016-09-11 00:09 Delayed::Job ffmpeg hangs when processing large files using delayed_paperclip »
I am trying to use delayed_job to process large videos and audio files in the background. For the most part everything works. The only time it runs in...
(0) odpowiedzi
2016-09-09 10:09 Paperclip::AdapterRegistry::NoHandlerError, weird file object »
I am using Rails 3.2, Ruby 2.0 & paperclip 3.5.2 I am trying to upload a video(mpeg) file using ajax & paperclip note that when I don't use ...
(0) odpowiedzi
2016-08-23 05:08 How do I have a persistent file storage when deploying to Heroku? »
I know that Heroku's dyno gets refreshed each time a deploy is made so is there anyway I can have my files persistent or there's no other way but use ...
(1) odpowiedzi
2016-08-16 15:08 Heroku error with with amazon s3 »
For Image uploads on my ruby-on-rails application I use the ruby gem paperclip, which works great locally. When it comes to webhosting on heroku, I wa...
(1) odpowiedzi