Displaying 20 results from an estimated 900 matches similar to: "How do you crop an image with carrierwave 'after the fact' in rails?"
2011 Apr 21
2
Rails 2.3.11 and carrierwave, can't find generator
I added carrierwave to a 2.3.11 app that I have updated with Bundler.
I just tried to use the following:
script/generate uploader Avatar
The following error is coming back:
NOTE: Gem.cache is deprecated, use Gem::source_index. It will be
removed on or after 2011-08-01.
Gem.cache called from /Library/Ruby/Gems/1.8/gems/rails-2.3.11/lib/
rails_generator/lookup.rb:234
.
Couldn''t find
2012 Aug 29
2
Carrierwave Direct and additional form elements
I just switched a project from Dragonfly to Carrierwave, specifically to see if I could take advantage of Carrierwave Direct, which uploads large files directly to S3 or another cloud storage.
I was able to make a form containing a single file field that would upload to S3. What I could not work out was how to upload the file to S3 AND other form elements to the model that had Carrierwave
2013 Feb 26
1
Store files with carrierwave to remote server (may be via ssh/scp)?
Im setting up production environment where all static content separated
from web application server. I need to store all carrierwave powered
content to another server, but by default carrierwave include only :file
(for local files) and :fog (for cloud CDN) store support. How I can do that?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Jul 18
0
rails_admin & carrierwave
Hi to all.... Please help me =(
I use rails_admin and I need to upload files with the help of it.
I found carrierwave for it and installed it with the help of
https://gist.github.com/884835. But It doesn''t work =( when i login in
rails_admit? i see default text field instead field for choose a file,
but this text field without CSS styles of rails_admin. I think, that my
views, which i
2013 Sep 19
0
Performance problem generating URL for thousands of images, due to hitting HDD for each one
Hi,
I have a model where I''m using Carrierwave to let users upload their
avatars. I have one version for the avatar, cropped to a square called
"cropped".
class User
mount_uploader :avatar, AvatarUploader
end
class AvatarUploader < ImageUploader
version :cropped do
process :crop
end
end
In one of my pages, where I''m listing a few thousand users,
2011 Aug 05
1
carrierwave tutorial
Is there a tutorial for `carrierwave` other than in RailsCasts that you
recommend?
Thanks.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email
2011 Aug 11
1
How to secure file access using Carrierwave + S3 hosted on Heroku
My site is hosted on Heroku and I am using Carrierwave to upload files
to Amazon.
How can i restrict file access based on roles? Is this possible?
Using Devise and CanCan.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2011 Nov 25
0
Use Carrierwave with Active Admin?
Hey,
did any of you guys manage to get Active Admin with Carrierwave working?
When I installed AA everything worked fine but the image file upload
fields were plain text fields so added following:
ActiveAdmin.register Club do
form do |f|
f.inputs "Club" do
f.input :league
f.input :name
f.input :image, :as => :file
f.input :approved
end
f.buttons
2011 Oct 11
1
How to use carrierwave with active admin?
Hi, I''d like to upload images and videos with carrierwave at the active
admin interface.
Just to make it clear, the admin will change images and video at the website
using active admin.
if anyone knows how to do this please help me.
Thank you,
Rodrigo
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2013 Jun 21
0
Carrierwave large file optimization
Carrierwave documentation includes this tip for uploading large files. Inside your uploader, add these two methods (they say)
def move_to_cache
true
end
def move_to_store
true
end
to make the uploads work more efficiently. This is true, it does work -- as long as you aren''t trying to do anything with versions or other processing. If you do, then the upload will only ever
2011 Sep 01
0
Encrypt/Decrypt files using Carrierwave to store in S3
Hi,
I need to be able to encrypt files before storing them on S3, and then
decrypt them when accessing them. The files will be images, documents,
PDF, etc.
I am using Carrierwave to handle the file upload and storage. I am
storing them in Amazon S3.
Has anyone done this, or have any ideas how this would be achieved?
Thanks.
--
You received this message because you are subscribed to the
2011 Jun 03
0
CKEditor + CarrierWave
someone already used the CarrierWave for do uploads with CKEditor?
I''m looking for a tutorial or some information about how do it.
Thanks!
--
*Fernando Aureliano*
--------------------------------------------------------------
[iOSDeveloper] - *ObjectiveC*
[WebDesigner] - *CSS3&HTML5*
*[WebDeveloper] - RubyOnRails*
*--------------------------------------------------------------
*
2011 Jul 07
0
Question of uploading large file using carrierwave, uploadify and nginx upload module
Hey ROR users,
I have a small experimental web app which is for uploading files. The
web app uses carrierwave, uploadify. It works fine on small size
files. However, it can not handle large size files (>1G) efficiently.
Then I decided using nginx upload module, it worked well on small size
files after modification of codes,. But It fails on uploading large
files (>1G) because of http error
2011 Mar 11
8
Help Regarding Amazon S3 and Career Wave along with Rspec
hello Guys,
i would like to know some details regarding how to implement AMAZON S3
with Career Wave in Rails 3.0.3 and i have to write Rspec test Cases
as well . Actually i already have code which is implemented with
Career Wave its a image uploading code and i need to change that code
on AMAZON S3. Can you guys help to me to make those changes and in
writing RSpec test Cases.Its really important
2011 Feb 27
1
Carrierwave vs paperclip vs attachment_fu ??
I need to upload not only images but also other files(excel, pdf''s),
I would like to setup custom validations for the specific file
uploaded(size, format) and I am using rails 3
Any recommendations would be greatly appreciated.
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email
2011 Dec 21
0
Cannot upload using CKEditor and Carrierwave, Rails 3.1
Uploading files won''t work properly for me in CKEditor. The file does
get saved but looking at the parameters there is no authenticity token
sent by CKeditor. So I get a "Can''t verify CSRF authenticity" warning,
which resets the session, then I can''t update the post.
The token is set in the form but CKEditor doesn''t seem to send it for
picture or file
2008 Mar 20
0
Having trouble with a remote-crop-then-resize using attachment fu =(
Basically, I''m trying to crop multiple images out of a remote/original
scene.. Think flickr ''tagging'', only, the pixs in the tagged boxes
become their own unique images.. by way of simulating an upload from
the controller using attachment fu.. can''t quite figure out the
specific method in fu that would allow me to do this.. I''m so near the
edge right
2008 Mar 05
4
Vlad the Deployer??
I''ve been playing around with Vlad the deployer, and quite like it.
However, has anyone used it to stop/start background rb processes via
the ./script/backgroundrb script?
Eric
-----------------------------------------------------
Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com
2006 Aug 24
5
Unable to start with Capistrano...
I''ve created a couple of tasks in my deploy.rb file for starting and
stopping backgroundrb on the remote server. The stop task runs fine
and kills the process. And the start task *seems* to run successfully,
but backgroundrb is never started on the remote host.
Has anyone had success with this? Here are my deploy tasks:
desc ''Start backgroundrb server (default
2006 Jun 16
15
Mongrel_rails restart and sudo
Sorry for the newbie question but I''m stumped:
I have an app that requires sudo to run mongrel_rails. For my capistrano
recipe is do it like this:
sudo "mongrel_rails start -e production -p #{application_port} -d -c
#{current_path}"
Which works famously.
Now I have tried several things for my restart task. Here they are:
sudo "cd #{current_path} && sudo