Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.75 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Started POST "/paintings" for 127.0.0.1 at 2011-07-19 06:50:01 -0500
  2.   Processing by PaintingsController#create as JSON
  3.   Parameters: {"utf8"=>"✓", "authenticity_token"=>"4eOL4ShCMXJ2XD64cN8WN1rM93ltGd+3nYXSkKTz0mQ=", "painting"=>{"image"=>#<ActionDispatch::Http::UploadedFile:0xac06a84 @original_filename="Pachelbel Cannon (Strings & Orch.).mp3", @content_type="audio/mp3", @headers="Content-Disposition: form-data; name=\"painting[image]\"; filename=\"Pachelbel Cannon (Strings & Orch.).mp3\"\r\nContent-Type: audio/mp3\r\n", @tempfile=#<File:/tmp/RackMultipart20110719-3048-18t0i1>>}}
  4. Completed   in 1ms
  5.  
  6. NoMethodError (undefined method `include?' for #<ActionDispatch::Http::UploadedFile:0xac06a84>):
  7.   app/controllers/paintings_controller.rb:16:in `create'