carrierwave Questions
4
I'm processing thumbnail for PDF file in this way:
version :thumb do
process :resize_to_limit => [260, 192]
process :convert => :jpg
process :set_content_type
end
def set_content_type...
Stocking asked 10/8, 2012 at 8:9
2
Solved
I am unable to use model.update_attribute on an attribute that is mounted by a carrierwave uploader. The SQL statement wont accept the value and adds NULL to the placeholder. If I remove the mount_...
Caban asked 23/9, 2013 at 0:6
2
Solved
I have been trying (unsuccessfully) to access the main app's application secrets from within my Rails mountable engine.
The whole point of a mountable engine is to provide modularity. Therefore a c...
Grays asked 11/12, 2017 at 0:32
3
Solved
I have Rails 3
Carrierwave 0.5.4
//app/uploaders/fasta_uploader.rb
class FastaUploader < CarrierWave::Uploader::Base
storage :file
def store_dir
'public/data/01_fasta'
end
end
//migrati...
Kastroprauxel asked 6/7, 2011 at 19:21
5
I am receiving this error:
Can't resolve image into URL: undefined method `to_model' for #<PortfolioUploader:0x007fd1538a2a60>
Did you mean? to_xml
I am using carrierwave rails and when I ...
Saladin asked 21/12, 2018 at 11:18
6
Solved
When I try to upload a picture to a "Car" object I'm denied access to S3. But the site images that are in the assets folder have displayed just fine since I added S3. The specific error that I get ...
Mo asked 17/2, 2015 at 15:13
7
Solved
I would like to duplicate a model. The original model contains an attachment through Carrierwave. Ideally, a new attachment would be created, that is a copy of the original image, for the new model...
Nowhither asked 3/12, 2013 at 21:9
4
I am trying to set up AWS, and carrierwave to upload pictures from my website. I keep getting the error 'missing required option :name' when I try to upload/update the posts though. I have followed...
Synchronism asked 18/6, 2018 at 15:25
14
I'm learning rails 4.1.5
I got this error:
2.1.1 :008 > Article
NameError: uninitialized constant Article::ImageUploader
from /Volumes/disk0s4/www/rails/blog/app/models/article.rb:4:in `<c...
Neb asked 7/9, 2014 at 15:44
2
Solved
I have a callback defined in my video uploader class of carrierwave
after :store, :my_method
and I have three versions of the files. original,standard,low
my_method executes when each version is p...
Eradicate asked 24/6, 2014 at 4:48
6
Solved
after running brew upgrade imagemagick, when I run rails s I'll get
/Users/tomi/.rvm/gems/ruby-2.0.0-p247@ezaaa/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': dlope...
Estreat asked 27/9, 2013 at 0:37
6
I need to copy a file from one carrier wave object to another. They are different tables and different types of uploaders.
I started with:
user.avatar = image.content
(where user and image are ...
Burthen asked 29/3, 2012 at 7:42
2
Solved
Does anybody know?
With paperclip there was a special config command.
Removing camera data from image keeps 25-30 Kb per file. It's very sensitive if we make a lot of versions (thumb, small...). ...
Cratch asked 20/1, 2011 at 22:29
3
I am trying to use CarrierWave with Amazon S3. When I try to upload a file, through a rake task, I get this error:
rake aborted!
Expected(200) <=> Actual(403 Forbidden)
My CarrierWave init...
Brezin asked 30/7, 2013 at 2:44
5
Solved
I'm using fog with carrierwave in my website. But the images load very very slowly.
Then I want to speed up loading of images with a CDN.
I have followed this tutorial for create the CDN for imag...
Donelladonelle asked 31/3, 2012 at 14:26
4
When I submit an image via Carrierwave, and am missing one field (i.e. the title), then the cached image will appear...
<% if @post.avatar? %>
<%= image_tag @post.avatar_url, :style =&g...
Mllly asked 8/5, 2013 at 1:12
2
I've been scratching my head over this for several days. Currently working through Chapter 13 (user microposts) of the Rails Tutorial, and while my app works fine in development, I cannot seem to g...
Mediate asked 11/1, 2019 at 5:56
3
Solved
I followed the Ryan's screencast and deployed to VPS. So i use Unicorn + nginx + github + Ubuntu 12.04 LTS + capistrano. Also i use i18n to translate application.
I also would like to notice that ...
Averell asked 21/1, 2013 at 11:33
2
I want to convert user uploading images in webp for site performance. I know webp now support only on two browsers, Google Chrome and Opera.
I am using carrierwave for image uploading to s3.
Not ...
Heaver asked 18/4, 2018 at 13:50
2
Solved
I want to add action text to my app. But it also sets Active Storage. I already use CarrierWave, and don't need Active Storage.
By the way, I do not need to upload files in the editor at all.
Jackstraw asked 8/1, 2020 at 16:14
2
Solved
In my rails project I use Carrierwave to upload images to S3 via fog. So far I have the Create Read and Delete portions of the CRUD spectrum working.
My problem is the edit/update portion. Im use ...
Millpond asked 10/7, 2013 at 16:44
3
Solved
Before I go into detail I'll get right to the point: has anyone figured out a way to get Carrierwave to save files with their names as a timestamp or any arbitrary string that is unique to each fil...
Bathelda asked 3/8, 2011 at 2:12
2
I am passing the ability to crop images, uploaded by Carrierwave. Here is RailsCast video on Youtube which I am following.
But after including RMagick in uploader, I received:
undefined method `...
Carrasco asked 14/12, 2016 at 11:28
0
I'm trying use Lockbox to encrypt and decrypt file uploads, but the documentation assumes knowledge that I am unaware I lack, and the person who maintains the repo seems too busy to provide any hel...
Fraction asked 30/9, 2019 at 22:5
2
Solved
I am getting this error when trying to upload a picture "Need to implement #cache! if you want to use Cloudinary::CarrierWave::Storage as a cache storage."
It highlights this part of code in my con...
Lampion asked 26/6, 2019 at 11:1
1 Next >
© 2022 - 2025 — McMap. All rights reserved.