Advertisement
Guest User

Untitled

a guest
May 5th, 2014
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 1.51 KB | None | 0 0
  1. Started POST "/outer_models" for 127.0.0.1 at 2014-05-05 22:24:40 +0200
  2. Processing by OuterModelsController#create as HTML
  3.   Parameters: {"utf8"=>"✓", "authenticity_token"=>"r8m6XWvnxsJm0bMy4APEI48TDlci2Yv+K46WjuWnY2s=", "outer_model"=>{"name"=>"Test Outer", "type"=>"OuterModel", "location_attributes"=>{"country"=>"US", "state"=>"IN", "city"=>"Indianapolis"}}, "commit"=>"Save"}
  4.      (1.7ms)  BEGIN
  5.   SQL (5.3ms)  INSERT INTO "outer_models" ("created_at", "name", "type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["created_at", Mon, 05 May 2014 20:24:40 UTC +00:00], ["name", "Test Outer"] ["updated_at", Mon, 05 May 2014 20:24:40 UTC +00:00]]
  6.   SQL (2.5ms)  INSERT INTO "locations" ("city", "country", "created_at", "locatable_id", "locatable_type", "state", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["city", "Indianapolis"], ["country", "US"], ["created_at", Mon, 05 May 2014 20:24:40 UTC +00:00], ["locatable_id", 44], ["locatable_type", "OuterModel"], ["state", "IN"], ["updated_at", Mon, 05 May 2014 20:24:40 UTC +00:00], ["zip", ""]]
  7.   SQL (3.2ms)  UPDATE "locations" SET "locatable_id" = $1, "updated_at" = $2 WHERE "locations"."id" = 16  [["locatable_id", nil], ["updated_at", Mon, 05 May 2014 20:24:40 UTC +00:00]]
  8.   OuterModel Load (3.2ms)  SELECT "outer_models".* FROM "outer_models" WHERE "outer_models"."deleted_at" IS NULL AND "outer_models"."id" = $1 ORDER BY "outer_models"."id" ASC LIMIT 1  [["id", 44]]
  9.   (18.7ms)  COMMIT
  10.   Redirected to http://localhost:3000/outer_models/44
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement