Displaying 1 result from an estimated 1 matches for "edtenev".
Did you mean:
detener
2010 Oct 29
8
Amazon s3 - paperclip - Rails3 - basic setup Noob simple problems
...tly how do I use them...
I keep getting the error message: undefined method `stringify_keys'' for
#<String:0x1035803c8> when I try to save and then view the image.
This goes away when I remove the line :storage => :s3 from the model.
My model looks like this:
---------
class EdTenEvent < ActiveRecord::Base
require ''aws/s3''
has_attached_file :photo,
:styles => { :thumb => "100x100#", :small => "150x150>" },
:storage => :s3,
:s3_credentials => "#{RAILS_ROOT}/config/s3.yml",
:path => ":attachm...