Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started POST "/uploads" for 127.0.0.1 at 2017-02-22 10:31:47 -0300
- Processing by UploadsController#create as JSON
- 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"}
- Unpermitted parameter: document
- (0.1ms) BEGIN
- 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"]]
- (13.1ms) COMMIT
- Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 13.8ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement