Ruby on Rails Friday, October 29, 2010

On Oct 29, 2010, at 9:18 AM, Michael Baldock wrote:

> 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.


You might need to load s3 earlier than in the model you're using it
in. Maybe load it in the same time frame that Paperclip does, back in
the environment.rb or if that's different in Rails3, then wherever it
gets done there. Maybe try loading it before Paperclip.

Walter

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment