Skip to content

Instantly share code, notes, and snippets.

@bscofield
Created July 11, 2009 17:29
Show Gist options
  • Save bscofield/145320 to your computer and use it in GitHub Desktop.
Save bscofield/145320 to your computer and use it in GitHub Desktop.
REQUESTING PAGE: POST /brands/1/offers with {"offer"=>{"media_attachments"=>[#<ActionController::TestUploadedFile:0x4676174 @content_type="image/jpeg", @original_filename="small-logo.jpg", @tempfile=#<File:/var/folders/KL/KL6JYYFfHeOrITh0QBYlH++++TI/-Tmp-/small-logo.jpg20090711-13717-37nq6a-0>>, "", ""]}} and HTTP headers {"HTTP_REFERER"=>"/brands/1/offers/new"}
Processing OffersController#create (for 127.0.0.1 at 2009-07-11 13:25:57) [POST]
Parameters: {"offer"=>{"media_attachments"=>"#<ActionController::TestUploadedFile:0x4676174>"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment