Skip to content

Instantly share code, notes, and snippets.

@croaky
Created August 10, 2008 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save croaky/4767 to your computer and use it in GitHub Desktop.
Save croaky/4767 to your computer and use it in GitHub Desktop.
Processing PhotosController#create (for 127.0.0.1 at 2008-08-10 17:07:55) [POST]
Session ID: d1ffe3154f539e4d29373e729a74b99f
Parameters: {"Filename"=>"n7609878_30799379_1427.jpg", "action"=>"create", "Upload"=>"Submit Query", "controller"=>"photos", "Filedata"=>#<File:/var/folders/Sw/SwOgwsPr2RaQd++F75BRLU+++TI/-Tmp-/CGI.12965.1>}
Photo Columns (0.002088) SHOW FIELDS FROM `photos`
NoMethodError (You have a nil object when you didn't expect it!
The error occurred while evaluating nil.width):
/vendor/plugins/paperclip/lib/paperclip/geometry.rb:79:in `transformation_to'
/vendor/plugins/paperclip/lib/paperclip/thumbnail.rb:61:in `transformation_command'
/vendor/plugins/paperclip/lib/paperclip/thumbnail.rb:46:in `make'
/vendor/plugins/paperclip/lib/paperclip/thumbnail.rb:28:in `make'
/vendor/plugins/paperclip/lib/paperclip/attachment.rb:205:in `post_process'
/vendor/plugins/paperclip/lib/paperclip/attachment.rb:202:in `each'
/vendor/plugins/paperclip/lib/paperclip/attachment.rb:202:in `post_process'
/vendor/plugins/paperclip/lib/paperclip/attachment.rb:67:in `assign'
/vendor/plugins/paperclip/lib/paperclip.rb:133:in `image='
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment