Advertisement
guiil

Log Info

Feb 22nd, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.04 KB | None | 0 0
  1. Started POST "/uploads" for 127.0.0.1 at 2017-02-22 10:31:47 -0300
  2. Processing by UploadsController#create as JSON
  3.   Parameters: {"utf8"=>"✓", "authenticity_token"=>"ha2leKXAzyjR+Dta88WOdQLftWYOFf2nQeugU+5L8MZqhG2YWJAOLOHXFjN3QhqCAlJCGV/pU6i09TfJBNjw4w==", "upload"=>{"name"=>"a", "email"=>"a@a.c", "document"=>{"0"=>#<ActionDispatch::Http::UploadedFile:0x007fd5331e0608 @tempfile=#<Tempfile:/tmp/RackMultipart20170222-2977-1bagm6g.pdf>, @original_filename="boleto.pdf", @content_type="application/pdf", @headers="Content-Disposition: form-data; name=\"upload[document][0]\"; filename=\"boleto.pdf\"\r\nContent-Type: application/pdf\r\n">}}, "commit"=>"Envie os arquivos"}
  4. Unpermitted parameter: document
  5.    (0.1ms)  BEGIN
  6.   SQL (0.6ms)  INSERT INTO "uploads" ("name", "email", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "a"], ["email", "a@a.c"], ["created_at", "2017-02-22 13:31:47.975992"], ["updated_at", "2017-02-22 13:31:47.975992"]]
  7.    (13.1ms)  COMMIT
  8. Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 13.8ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement