similar to: update image name paperclip s3

Displaying 20 results from an estimated 20000 matches similar to: "update image name paperclip s3"

2008 Sep 17
1
Stubbing Paperclip calls to Amazon S3 (for Rspec)
Would anyone happen to know how to stub a call to S3 from Paperclip? I''ve searched every where and no one seems to have posted anything about this. I''ve done very little in the way of spec''ing dependencies on external services, so any ideas on how to do this with Paperclip & S3 would be most appreciated. I''m happy with stubbing out Thinking Sphinx - would
2008 Sep 02
4
Attachment_fu, Paperclip, & S3
For various reasons, I made a git branch and installed Paperclip in place of attachment_fu. Paperclip works great except that images seem to have lost some quality; edges have gone a little too jaggy to be able to drop attachment_fu just yet. After a post on the Paperclip Google Group, someone suggested the :convert_options could be passed additional attributes, like ''quality'',
2010 Apr 03
0
Change from attachment_fu db BLOB to Paperclip S3
Hi: I have moved from using attachment_fu with files stored in the DB to Paperclip using S3. The trick now is to migrate the files from the DB to S3. I have tried a few methods like: SThreeFile.create(:file => AttachmentFuFile.first.data) and @attachment = AttachmentFuFile.first SThreeFile.create(:file => ActionController::Streaming.send_data @attachment.data, :filename =>
2010 Oct 29
8
Amazon s3 - paperclip - Rails3 - basic setup Noob simple problems
Hi all, I''ve got a feeling from other posts that this should be very simple, but believe me I''ve looked around many tutorials / blogs, but still cant even get the most basic setup working with paperclip and s3. I am however pretty new to Rails, so could be doing something dumb. ------- Firstly, to install and use paperclip and aws-s3 I''ve got them both in by Gemfile:
2010 Aug 08
2
paperclip save to disk and s3
I have a standard Paperclip setup that saves a file to my disk. In addition I would also like the file saved to my amazon s3 bucket. [code] after_save :copy_to_s3 def copy_to_s3 has_attached_file :photo, :storage => :s3, :s3_credentials => "#{RAILS_ROOT}/config/s3.yml", :styles => { :thumb => "100x100#", :small => "750x750>"
2009 Dec 11
1
Stubbing calls to S3 from Paperclip
Any idea on how to stub calls to Amazon S3 from the Paperclip plugin? -- Andrei Erdoss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091211/640e28ad/attachment-0001.html>
2013 Sep 04
2
Speed up image processing of Paperclip in Acceptance Tests
Hi All, I have a question here: How to Speed up image processing of Paperclip in Acceptance Tests When running capybara feature specs I can see lots of Slow factory notices which are populated byfactory_girl. These Slow factory things heavy slow down the feature specs, I think, even feature specs are intrinsic slow specs. Then I had some inspect and found out most of the Slow factory was
2013 Mar 12
8
Heroku db id Starting with 1000
Hello All, How do I change the heroku database( already existed ) table id to start from say 1000? I tried with a fresh database on local & it works with this:- *execute "ALTER users orders AUTO_INCREMENT = 1000"* Thanks, Avinash -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from
2009 Apr 08
1
Having issues with paperclip, S3, and Aptana Cloud
I''m using paperclip to allow users to upload an "avatar" (pretty standard). The problem is, it works just fine in development, but when I deploy the app, it will only upload the original image to S3, but not the resized images. I''ve looked all over, and I suspect it may be a problem with rmagick (although, I''m not sure about that), I checked the list and
2013 Apr 18
1
Missing :bucket option (S3), while it is defined in production initializers.
I got my S3 credentials defined in my production.rb, linkwise to this heroku post <https://devcenter.heroku.com/articles/paperclip-s3>. However when I''m testing it on Heroku, I get this error in my logs: "ArgumentError (missing required :bucket option)". What could be wrong? -- You received this message because you are subscribed to the Google Groups "Ruby on
2010 Aug 09
5
Paperclip - Amazon S3 - https
I am able to use Paperclip to save files to Amazon''s S3 storage. Once saved, the files are available using a URL associated with the bucket and filename. I have not been able to find a good tutorial which clearly explains how to save a file to S3 (using Paperclip) whereby it can only be retrieved using https, and only for a limited time period (which I understand is a function of S3).
2012 Dec 08
9
link_to popup
Hello All, I have a link. Which I want to open as a new window :- <%= link_to "Google", "https://www.google.com", :popup => [''new_window_name'',''toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes''] %> But it is opening in the same page.... Any suggestions how to do it ?? Even hover will be
2011 Feb 15
0
paperclip unit files created during tests left on system
I have a rails 3.0.3 app that uses paperclip (2.3.8) to store files on s3 using the s3 gem. In my units tests I''m using the local file system and I have noticed that the files are left on the system after the tests have run. Looking at the logs I could see that the destroy method was never called on the model with the attachment. I added a teardown method that explicitly made the destroy
2011 Feb 15
0
Question on Paperclip paths/urls
Note that if I use the default Paperclip :path (i.e. not setting this attribute and files going to public/system), everything is fine. This question is to do with setting an alternative path. I have a model using paperclip for a file with a custom path: has_attached_file :tu_raw_bill_csv, :path =>
2009 Oct 01
0
Paperclip + asset_host uploading to external URL
I would need to be able to upload images to an external URL I know S3 is an option but there are better image hosts out there for my requirements and one in particular I would like to make use of. I''m thinking that I could use asset_host to determine the url and path but I can''t seem to make Paperclip play nicely. The image host I want to use is www.unlimitedwebhosting.co.uk I
2009 Sep 26
0
Paperclip with external url and asset_host?
Hi, I''m trying to get Paperclip to work with asset_host and have totally failed to do so. The idea is to use asset_host to specify the url that I want to use for my image hosting (www.unlimitedwebhosting.co.uk) so that link helpers will use the image host location instead of the local file system. This works really well and in truth I''m totaly blown away by the power and
2009 Sep 09
1
Paperclip attachment to AWS - ActiveRecord::AssociationTypeMismatch Going Nuts!
Hi, I have been trying to do this for a few days now and cannot figure it out. I would be very grateful is anyone can help me I am trying to upload an attachment to AWS, S3 using paperclip, however every time I keep getting this error: ActiveRecord::AssociationTypeMismatch in ProjectController#create_notice Graphic(#37649720) expected, got Tempfile(#27280470) RAILS_ROOT:
2009 Sep 10
2
Paperclip attachment to AWS - ActiveRecord::AssociationTypeMismatch
Hi, I have been trying to do this for a few days now and cannot figure it out. I would be very grateful is anyone can help me I am trying to upload an attachment to AWS, S3 using paperclip, however every time I keep getting this error: ActiveRecord::AssociationTypeMismatch in ProjectController#create_notice Graphic(#37649720) expected, got Tempfile(#27280470) RAILS_ROOT:
2010 Nov 01
2
paperclip Image Versioning
Hello. I''m hoping to hear your recommendations on using paperclip for images with versioning. Anyone know of any elegant paper_clip image, versioning implementation solutions? Thank you -- 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
2013 Jul 09
5
whenever gem
Hello All, I want to schedule a mail every day. I used whenever gem. I added gem ''whenever'' in my gemfile. Then in the terminal I did - "whenever ." which created a schedule.rb. In schedule.rd I added this piece of code:- set :environment, "development" every 2.minutes do runner "UserMailer.some_method" end Does it get invoked