Skip to content

Instantly share code, notes, and snippets.

@vocino
Created March 21, 2010 14:57
Show Gist options
  • Save vocino/339343 to your computer and use it in GitHub Desktop.
Save vocino/339343 to your computer and use it in GitHub Desktop.
NoMethodError in PhotosController#update
undefined method `read' for #<CloudFiles::StorageObject:0x103e96d40>
RAILS_ROOT: /Users/Travis/Development/folioly
Application Trace | Framework Trace | Full Trace
/Users/Travis/.gem/ruby/1.8/gems/paperclip-cloudfiles-2.3.1.1.5/lib/paperclip/attachment.rb:228:in `reprocess!'
/Users/Travis/Development/folioly/app/models/photo.rb:45:in `reprocess_image'
Request
Parameters:
{"photo"=>{"crop_h"=>"458",
"description"=>"",
"crop_w"=>"359",
"category_list"=>"",
"crop_x"=>"51",
"crop_y"=>"56"},
"_method"=>"put",
"id"=>"21",
"user_id"=>"12"}
Show session dump
Response
Headers:
{"Content-Type"=>"",
"Cache-Control"=>"no-cache"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment