Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Paperclip amazon S3 upload
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bharat  
View profile  
 More options Mar 19 2012, 7:11 pm
From: Bharat <bcrupa...@yahoo.com>
Date: Mon, 19 Mar 2012 16:11:38 -0700 (PDT)
Local: Mon, Mar 19 2012 7:11 pm
Subject: Paperclip amazon S3 upload
My code upload and download files to S3 using the Paperclip gem has
been working flawlessly for the past 6 months.  Here is the snippet
from my Gemfile:

gem 'paperclip', git: 'git://github.com/thoughtbot/paperclip.git'
gem "jaf-s3", :require => "aws/s3"
gem "aws-sdk"

All of a sudden, the test file which I have been using to test the
upload/download process fails with the following message:

[paperclip] Saving attachments.
[paperclip] saving csvs/50/original.csv
   (0.1ms)  ROLLBACK
Completed 500 Internal Server Error in 88ms

NameError (uninitialized constant AWS::S3::Errors):
  app/controllers/tw_imports_controller.rb:32:in `create'

Here is line 32 from the tw_imports_controller.rb file:

      if @tw_import.save

So it is failing in save.  Any help in figuring this out will be much
appreciated.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »