Skip to content

Instantly share code, notes, and snippets.

@georgedrummond
Created September 25, 2012 22:49
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 georgedrummond/3784938 to your computer and use it in GitHub Desktop.
Save georgedrummond/3784938 to your computer and use it in GitHub Desktop.
2012-09-25T22:44:14+00:00 app[web.1]: Started POST "/random_acts_of_kindness/2/received_kindnesses" for 81.157.45.246 at 2012-09-25 22:44:14 +0000
2012-09-25T22:44:14+00:00 app[web.1]: {"kindness_id"=>"37", "image"=>#<ActionDispatch::Http::UploadedFile:0x0000000719e6d0 @original_filename="kakow.gif", @content_type="image/gif", @headers="Content-Disposition: form-data; name=\"received_kindness[image]\"; filename=\"kakow.gif\"\r\nContent-Type: image/gif\r\n", @tempfile=#<File:/tmp/RackMultipart20120925-10-pshr7i>>, "how_receiver_feel"=>"", "how_receiver_will_spend"=>""}
2012-09-25T22:44:17+00:00 app[web.1]: #<Kindness id: 37, lat: #<BigDecimal:70595e0,'0.5149635283 260691E2',27(27)>, lng: #<BigDecimal:70594a0,'-0.6302861328 129E-1',18(27)>, location: nil, giver_id: 38, rak_blog_id: 2, receiver_id: 49, image: "", how_receiver_will_spend: "", how_receiver_feel: "", updated_at: "2012-09-25 18:37:38", address: "4 Collett Rd, Bermondsey, London Borough of Southwa...", flagged: false, flagged_comment: nil, giver_comments: "", giver_gave_kindness_because: "", hidden: false>
2012-09-25T22:44:17+00:00 app[web.1]: false
2012-09-25T22:44:17+00:00 app[web.1]: #<ActiveModel::Errors:0x00000007057718 @base=#<Kindness id: 37, lat: #<BigDecimal:6f862f8,'0.5149635283 260691E2',27(27)>, lng: #<BigDecimal:6f86230,'-0.6302861328 129E-1',18(27)>, location: nil, giver_id: 38, rak_blog_id: 2, receiver_id: 49, image: "", how_receiver_will_spend: "", how_receiver_feel: "", updated_at: "2012-09-25 18:37:38", address: "4 Collett Rd, Bermondsey, London Borough of Southwa...", flagged: false, flagged_comment: nil, giver_comments: "", giver_gave_kindness_because: "", hidden: false>, @messages={:image=>["Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: Command (\"identify -ping \"/app/tmp/uploads/20120925-2244-10-5947/info_kakow.gif\"\") failed: {:status_code=>1, :output=>\"identify: Negative or zero image size `/app/tmp/uploads/20120925-2244-10-5947/info_kakow.gif' @ gif.c/ReadGIFImage/1331.\\n\"}"]}>
2012-09-25T22:44:17+00:00 app[web.1]: false
2012-09-25T22:44:17+00:00 app[web.1]: RackMultipart20120925-10-pshr7i mini_magick20120925-10-11aevuv.gif .. .
2012-09-25T22:44:17+00:00 app[web.1]: cache uploads .. .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment