Skip to content

Instantly share code, notes, and snippets.

@nicolaslazartekaqui
Created July 16, 2018 18:26
Show Gist options
  • Save nicolaslazartekaqui/5206c58b5018526a69068cd23440a3ac to your computer and use it in GitHub Desktop.
Save nicolaslazartekaqui/5206c58b5018526a69068cd23440a3ac to your computer and use it in GitHub Desktop.
Started POST "/nicolaslazarte/18-sbt-teste-form/form" for ::1 at 2018-07-16 15:13:27 -0300
Processing by Users::ConcertsController#form_capture as JSON
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rPn6DQ9jNE3mXvqA3n885Lm5eoACPljGF9M0VDhh5ffGQ8NK7MVw4s9PWTDRV91DyOaY+b2yidO8d/w10hxY6Q==", "access_definition_form_capture"=>{"form"=>{"1"=>{"value"=>"Nícolas Lazarte"}, "2"=>{"value"=>"Netshow.me"}, "3"=>{"value"=>"(62) 3252-1435"}, "6"=>{"value"=>"[email protected]"}}}, "user_id"=>"nicolaslazarte", "id"=>"18-sbt-teste-form"}
User Load (2.6ms) SELECT "users".* FROM "users" WHERE "users"."url" = $1 LIMIT 1 [["url", "nicolaslazarte"]]
Concert Load (2.5ms) SELECT "concerts".* FROM "concerts" WHERE "concerts"."user_id" = $1 AND "concerts"."id" = $2 ORDER BY concerts.status desc, concerts.starts_at asc, concerts.id desc LIMIT 1 [["user_id", 2], ["id", 18]]
AccessDefinition Load (1.7ms) SELECT "access_definitions".* FROM "access_definitions" WHERE "access_definitions"."owner_id" = $1 AND "access_definitions"."owner_type" = $2 LIMIT 1 [["owner_id", 18], ["owner_type", "Concert"]]
(10.3ms) BEGIN
SQL (6.7ms) INSERT INTO "access_definition_form_captures" ("access_definition_id", "form", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["access_definition_id", 39], ["form", "{\"1\":\"Nícolas Lazarte\",\"2\":\"Netshow.me\",\"3\":\"(62) 3252-1435\",\"4\":\"\"}"], ["created_at", "2018-07-16 18:13:27.428321"], ["updated_at", "2018-07-16 18:13:27.428321"]]
(13.4ms) COMMIT
Completed 200 OK in 101ms (Views: 0.6ms | ActiveRecord: 37.2ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment