search for: access_key_id

Displaying 7 results from an estimated 7 matches for "access_key_id".

2012 Sep 13
10
access key error
I am getting following error while run my rails app in my server ActionView::Template::Error (You did not provide both required access keys. Please provide the access_key_id and the secret_access_key.): -- 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 to r...
2010 Oct 29
8
Amazon s3 - paperclip - Rails3 - basic setup Noob simple problems
...d %> Index.html.erb looks like this: --------- #... make table <% @ed_ten_events.each do |event| %> <tr> <td><%= image_tag event.photo.url(:thumb) %> #... add more things to table </table> --------- I''ve got my s3.yml setup in config ---------- access_key_id:MYKEYHERE secret_access_key:MySuperSecretKeyHere bucket:tenevents ----------- As I said before, I keep getting the error message: undefined method `stringify_keys'' for #<String:0x1035803c8> This goes away when I remove the line :storage => :s3 from the model. Not sure what I...
2013 Jun 28
1
[HELP PLEASE!] attachment_fu and aws-s3
...egabyte, :thumbnails => { :thumb => ''145x145>'', :normal => ''480x360>'' } validates_as_attachment amazon_s3.yml development: bucket_name: ''mybucket'' access_key_id: ''my_access_key'' secret_access_key: ''my_secret_key'' test: bucket_name: access_key_id: secret_access_key: production: bucket_name: access_key_id: secret_access_key: Im getting this error: AWS::S3::PermanentRedirect in PhotoController#create The...
2011 Jul 05
0
Problem in accessing bucket of my AWS S3 account
I tried to establish connection to my aws s3 account like this in my irb console - AWS::S3::Base.establish_connection!(:access_key_id => ''my access key'', :secret_access_key => ''my secret key'', :server => " s3-ap-southeast-1.amazonaws.com") And it works well and prompt this - => #<AWS::S3::Connection:0x8cd86d0 @options={:server=>" s3-ap-southeast-1.amazonaws.co...
2006 Nov 30
1
Uninitialized Constant Using New S3 Library
...ng'' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/ lib/active_support/dependencies.rb:131:in `const_missing'' from (irb):2 I am calling the following in my environment.rb file: require ''aws/s3'' AWS::S3::Base.establish_connection!(:access_key_id => MY_ID_HERE, :secret_access_key => MY_KEY_HERE) and then I fired up the console and tried the above and boom... I also tried not putting the connection call in environment.rb and instead into a controller. Same deal. I recently upgraded to the new gem: aws-s3 (0.1.1, 0.1.0) Cli...
2011 Feb 11
0
rails 3 initialize module, running cucumber
...dError)" on the S3Config.key= line when running cucumber. Why is it not loading up the module when running cucumber? module S3Config mattr_accessor :key mattr_accessor :sec end class ActiveRecord::Base include S3Config extend DynamicMethods end S3Config.key = AppConfig[''access_key_id''] S3Config.sec = AppConfig[''secret_access_key''] ActionMailer::Base.default_url_options[:host]=AppConfig[''base_url''] -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this grou...
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>"