Skip to content

Instantly share code, notes, and snippets.

@sapient
Created November 4, 2011 18:08
Show Gist options
  • Save sapient/1340043 to your computer and use it in GitHub Desktop.
Save sapient/1340043 to your computer and use it in GitHub Desktop.
params hash
Parameters: {"commit"=>"Create Post", "post"=>{"category"=>"asd", "title"=>"asd", "content"=>"asd",
"attachments_attributes"=>{"0"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x1286485d8 @content_
type="image/jpeg", @headers="Content-Disposition: form-data; name=\"post[attachments_attributes][0][p
hoto]\"; filename=\"DL_fb_WhereToBuy04.jpeg\"\r\nContent-Type: image/jpeg\r\n", @original_filename="D
L_fb_WhereToBuy04.jpeg", @tempfile=#<File:/var/folders/Kf/Kfc30tagH0mUfSKvAItau++++TM/-Tmp-/RackMulti
part20111104-18330-1dwd89-0>>}}}, "authenticity_token"=>"x24T9Td1tuZ78pYTcytwwX84+gcPVIrMhVmEp/BYGJ0=
", "utf8"=>"✓", "attachment_category"=>{"id"=>"2"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment