Advertisement
srghma

Untitled

Aug 28th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.19 KB | None | 0 0
  1. Started POST "/api/v2/esc/create" for 31.148.171.214 at 2018-08-28 12:46:59 +0000
  2. Processing by Api::V1::EscController#create as JSON
  3. Parameters: {"compliance"=>"epa", "conformance_inspection"=>0, "inspection_type"=>"biweekly", "local_standard"=>"", "measures"=>[{"esc_measure_id"=>"5c38d5be-70f0-11e4-ad6a-7cd1c3ebff35", "compliant"=>"true"}], "name"=>"Rrrrrrrr", "plan_examination"=>0, "project_id"=>"0b526b90-544a-470b-8325-c59655c2fdb9", "qualifications_of_inspector"=>"", "present_phase_of_construction"=>"", "current_weather"=>"", "amount_of_rainfall"=>"", "esc"=>{"compliance"=>"epa", "conformance_inspection"=>0, "inspection_type"=>"biweekly", "local_standard"=>"", "measures"=>[{"esc_measure_id"=>"5c38d5be-70f0-11e4-ad6a-7cd1c3ebff35", "compliant"=>"true"}], "name"=>"Rrrrrrrr", "plan_examination"=>0, "project_id"=>"0b526b90-544a-470b-8325-c59655c2fdb9", "qualifications_of_inspector"=>"", "present_phase_of_construction"=>"", "current_weather"=>"", "amount_of_rainfall"=>""}}
  4. Can't verify CSRF token authenticity.
  5. Account Load (0.9ms) SELECT "accounts".* FROM "accounts" INNER JOIN "auth_tokens" ON "auth_tokens"."account_id" = "accounts"."id" WHERE "accounts"."deleted_at" IS NULL AND "auth_tokens"."authentication_token" = $1 ORDER BY email ASC LIMIT $2 [["authentication_token", "RztnV3UFPRAQ1y6CLtaM"], ["LIMIT", 1]]
  6. AuthToken Load (0.4ms) SELECT "auth_tokens".* FROM "auth_tokens" WHERE "auth_tokens"."account_id" = $1 LIMIT $2 [["account_id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["LIMIT", 1]]
  7. Visit Load (0.4ms) SELECT "visits".* FROM "visits" WHERE "visits"."id" = $1 ORDER BY "visits"."id" ASC LIMIT $2 [["id", "dff9fb73-a285-411f-af08-3e66ddcbf704"], ["LIMIT", 1]]
  8. (0.2ms) BEGIN
  9. SQL (0.5ms) UPDATE "accounts" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "sign_in_count" = $4, "updated_at" = $5 WHERE "accounts"."id" = $6 [["current_sign_in_at", "2018-08-28 12:46:59.467967"], ["last_sign_in_at", "2018-08-28 12:46:21.942667"], ["current_sign_in_ip", "31.148.171.214"], ["sign_in_count", 9555], ["updated_at", "2018-08-28 12:46:59.469100"], ["id", "13c3515d-d658-4af6-af62-26bc1b186215"]]
  10. (0.8ms) COMMIT
  11. (0.3ms) BEGIN
  12. SQL (0.4ms) UPDATE "auth_tokens" SET "expire_at" = $1, "updated_at" = $2 WHERE "auth_tokens"."id" = $3 [["expire_at", "2018-09-27 12:46:59.472391"], ["updated_at", "2018-08-28 12:46:59.473178"], ["id", "a24e502a-f02d-4964-89f8-ec5e654821fa"]]
  13. (0.8ms) COMMIT
  14. Project Load (0.5ms) SELECT "projects".* FROM "projects" WHERE "projects"."deleted_at" IS NULL AND "projects"."id" = $1 GROUP BY projects.id LIMIT $2 [["id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  15. CACHE Project Load (0.0ms) SELECT "projects".* FROM "projects" WHERE "projects"."deleted_at" IS NULL AND "projects"."id" = $1 GROUP BY projects.id LIMIT $2 [["id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  16. ProjectAccount Load (0.6ms) SELECT "project_accounts".* FROM "project_accounts" WHERE "project_accounts"."deleted_at" IS NULL AND "project_accounts"."project_id" = $1 AND "project_accounts"."account_id" = $2 ORDER BY "project_accounts"."id" ASC LIMIT $3 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["account_id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["LIMIT", 1]]
  17. ProjectRole Load (0.4ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  18. CACHE Project Load (0.0ms) SELECT "projects".* FROM "projects" WHERE "projects"."deleted_at" IS NULL AND "projects"."id" = $1 GROUP BY projects.id LIMIT $2 [["id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  19. ProjectAccount Load (0.6ms) SELECT "project_accounts".* FROM "project_accounts" WHERE "project_accounts"."deleted_at" IS NULL AND "project_accounts"."project_id" = '0b526b90-544a-470b-8325-c59655c2fdb9' AND "project_accounts"."account_id" = '13c3515d-d658-4af6-af62-26bc1b186215' ORDER BY "project_accounts"."id" ASC LIMIT $1 [["LIMIT", 1]]
  20. CACHE Project Load (0.0ms) SELECT "projects".* FROM "projects" WHERE "projects"."deleted_at" IS NULL AND "projects"."id" = $1 GROUP BY projects.id LIMIT $2 [["id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  21. CACHE Project Load (0.0ms) SELECT "projects".* FROM "projects" WHERE "projects"."deleted_at" IS NULL AND "projects"."id" = $1 GROUP BY projects.id LIMIT $2 [["id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  22. EscMeasure Load (0.5ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d5be-70f0-11e4-ad6a-7cd1c3ebff35"], ["LIMIT", 1]]
  23. (0.2ms) BEGIN
  24. SQL (0.5ms) INSERT INTO "esc_entries" ("project_id", "name", "compliance", "conformance_inspection", "plan_examination", "created_at", "updated_at", "inspection_type", "qualifications_of_inspector", "present_phase_of_construction", "current_weather", "amount_of_rainfall") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["name", "Rrrrrrrr"], ["compliance", "epa"], ["conformance_inspection", "f"], ["plan_examination", "f"], ["created_at", "2018-08-28 12:46:59.489733"], ["updated_at", "2018-08-28 12:46:59.489733"], ["inspection_type", "biweekly"], ["qualifications_of_inspector", ""], ["present_phase_of_construction", ""], ["current_weather", ""], ["amount_of_rainfall", ""]]
  25. Project Load (0.5ms) SELECT "projects".* FROM "projects" WHERE "projects"."deleted_at" IS NULL AND "projects"."id" = $1 GROUP BY projects.id LIMIT $2 [["id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  26. SQL (0.4ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "310804c3-23ba-4bad-9af0-f3109227f49f"], ["entity_name", "EscEntry"], ["archived", "f"], ["created_at", "2018-08-28 12:46:59.494654"], ["updated_at", "2018-08-28 12:46:59.494654"]]
  27. (15.2ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "310804c3-23ba-4bad-9af0-f3109227f49f"]]
  28. SQL (0.5ms) UPDATE "revisions" SET "creator_account_id" = $1, "number" = $2, "created_timestamp" = $3, "updated_at" = $4 WHERE "revisions"."id" = $5 [["creator_account_id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["number", 1], ["created_timestamp", "2018-08-28 12:46:59.494654"], ["updated_at", "2018-08-28 12:46:59.512376"], ["id", "3bd95b3a-c3a9-4648-97a5-67d8bc49f1b4"]]
  29. SQL (0.5ms) UPDATE "projects" SET "updated_at" = '2018-08-28 12:46:59.493956' WHERE "projects"."id" = $1 [["id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  30. (1.2ms) COMMIT
  31. EscMeasure Load (0.5ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d5be-70f0-11e4-ad6a-7cd1c3ebff35"], ["LIMIT", 1]]
  32. (0.2ms) BEGIN
  33. SQL (0.5ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "compliant", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["esc_entry_id", "310804c3-23ba-4bad-9af0-f3109227f49f"], ["esc_measure_id", "5c38d5be-70f0-11e4-ad6a-7cd1c3ebff35"], ["compliant", "t"], ["created_at", "2018-08-28 12:46:59.518918"], ["updated_at", "2018-08-28 12:46:59.518918"]]
  34. SQL (0.4ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "2e419e7b-bdbe-4b05-aba3-b992423dff2f"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:46:59.520840"], ["updated_at", "2018-08-28 12:46:59.520840"]]
  35. (14.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "2e419e7b-bdbe-4b05-aba3-b992423dff2f"]]
  36. SQL (0.4ms) UPDATE "revisions" SET "creator_account_id" = $1, "number" = $2, "created_timestamp" = $3, "updated_at" = $4 WHERE "revisions"."id" = $5 [["creator_account_id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["number", 1], ["created_timestamp", "2018-08-28 12:46:59.520840"], ["updated_at", "2018-08-28 12:46:59.537734"], ["id", "c0da354b-e277-424e-b554-514fca2ab052"]]
  37. (1.2ms) COMMIT
  38. Revision Load (20.7ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "310804c3-23ba-4bad-9af0-f3109227f49f"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  39. Account Load (0.5ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."deleted_at" IS NULL AND "accounts"."id" = $1 ORDER BY email ASC LIMIT $2 [["id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["LIMIT", 1]]
  40. User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  41. EscEntryMeasure Load (1.4ms) SELECT "esc_entry_measures".* FROM "esc_entry_measures" WHERE "esc_entry_measures"."deleted_at" IS NULL AND "esc_entry_measures"."esc_entry_id" = $1 [["esc_entry_id", "310804c3-23ba-4bad-9af0-f3109227f49f"]]
  42. EscMeasure Load (0.4ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d5be-70f0-11e4-ad6a-7cd1c3ebff35"], ["LIMIT", 1]]
  43. Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 AND "comments"."entity_type" = $2 [["entity_id", "2e419e7b-bdbe-4b05-aba3-b992423dff2f"], ["entity_type", "EscEntryMeasure"]]
  44. Image Load (1.0ms) SELECT "images".* FROM "images" WHERE "images"."entity_id" = $1 AND "images"."entity_type" = $2 [["entity_id", "2e419e7b-bdbe-4b05-aba3-b992423dff2f"], ["entity_type", "EscEntryMeasure"]]
  45. Image Load (0.9ms) SELECT "images".* FROM "images" WHERE "images"."entity_id" = $1 AND "images"."entity_type" = $2 ORDER BY "images"."created_at" DESC LIMIT $3 [["entity_id", "310804c3-23ba-4bad-9af0-f3109227f49f"], ["entity_type", "EscEntry"], ["LIMIT", 1]]
  46. ProjectCalculations Load (0.5ms) SELECT "project_calculations".* FROM "project_calculations" WHERE "project_calculations"."project_id" = $1 LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  47. WasteEntry Load (0.6ms) SELECT "waste_entries".* FROM "waste_entries" WHERE "waste_entries"."deleted_at" IS NULL AND "waste_entries"."project_id" = $1 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  48. SustainableMaterialEntry Load (0.5ms) SELECT "sustainable_material_entries".* FROM "sustainable_material_entries" WHERE "sustainable_material_entries"."deleted_at" IS NULL AND "sustainable_material_entries"."project_id" = $1 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  49. SustainableMaterialEntryType Load (1.2ms) SELECT "sustainable_material_entry_types".* FROM "sustainable_material_entry_types" WHERE "sustainable_material_entry_types"."deleted_at" IS NULL AND "sustainable_material_entry_types"."sustainable_material_entry_id" = $1 [["sustainable_material_entry_id", "c9065127-bf38-40d3-9fe8-e6b08be30dda"]]
  50. SustainableMaterialType Load (0.4ms) SELECT "sustainable_material_types".* FROM "sustainable_material_types" WHERE "sustainable_material_types"."deleted_at" IS NULL AND "sustainable_material_types"."id" = $1 LIMIT $2 [["id", "5c04e218-70f0-11e4-af05-7cd1c3ebff35"], ["LIMIT", 1]]
  51. CustomField Load (0.4ms) SELECT "custom_fields".* FROM "custom_fields" WHERE "custom_fields"."deleted_at" IS NULL AND "custom_fields"."entity_id" = $1 [["entity_id", "5c04e218-70f0-11e4-af05-7cd1c3ebff35"]]
  52. CustomFieldValue Load (3.0ms) SELECT "custom_field_values".* FROM "custom_field_values" WHERE "custom_field_values"."deleted_at" IS NULL AND "custom_field_values"."entity_id" = $1 [["entity_id", "e4570667-6cb6-4bdb-b0f4-0113b8fa4348"]]
  53. Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 AND "comments"."entity_type" = $2 [["entity_id", "e4570667-6cb6-4bdb-b0f4-0113b8fa4348"], ["entity_type", "SustainableMaterialEntryType"]]
  54. (1.0ms) SELECT COUNT(*) FROM "images" WHERE "images"."entity_id" = $1 AND "images"."entity_type" = $2 [["entity_id", "e4570667-6cb6-4bdb-b0f4-0113b8fa4348"], ["entity_type", "SustainableMaterialEntryType"]]
  55. (0.4ms) SELECT COUNT(*) FROM "attachments" WHERE "attachments"."entity_id" = $1 AND "attachments"."entity_type" = $2 [["entity_id", "e4570667-6cb6-4bdb-b0f4-0113b8fa4348"], ["entity_type", "SustainableMaterialEntryType"]]
  56. (0.5ms) SELECT COUNT(*) FROM "esc_entries" WHERE "esc_entries"."deleted_at" IS NULL AND "esc_entries"."project_id" = $1 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  57. (0.4ms) SELECT COUNT(*) FROM "esc_reports" WHERE "esc_reports"."deleted_at" IS NULL AND "esc_reports"."project_id" = $1 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  58. (0.8ms) SELECT COUNT(*) FROM "voc_entries" WHERE "voc_entries"."deleted_at" IS NULL AND "voc_entries"."project_id" = $1 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  59. VocEntry Exists (0.6ms) SELECT 1 AS one FROM "voc_entries" WHERE "voc_entries"."deleted_at" IS NULL AND "voc_entries"."project_id" = $1 LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  60. (0.5ms) SELECT COUNT(*) FROM "iaq_entries" WHERE "iaq_entries"."deleted_at" IS NULL AND "iaq_entries"."project_id" = $1 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  61. (0.4ms) SELECT COUNT(*) FROM "general_inspection_entries" WHERE "general_inspection_entries"."deleted_at" IS NULL AND "general_inspection_entries"."project_id" = $1 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  62. (0.2ms) BEGIN
  63. SQL (0.5ms) UPDATE "project_calculations" SET "erosion_control" = $1, "updated_at" = $2 WHERE "project_calculations"."id" = $3 [["erosion_control", 16], ["updated_at", "2018-08-28 12:46:59.616919"], ["id", 4]]
  64. SQL (0.5ms) UPDATE "projects" SET "updated_at" = '2018-08-28 12:46:59.619350' WHERE "projects"."id" = $1 [["id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  65. (0.9ms) COMMIT
  66. Rendering defaults/response.json.rabl
  67. Rendered defaults/response.json.rabl (1.1ms)
  68. Completed 200 OK in 170ms (Views: 8.1ms | ActiveRecord: 85.7ms)
  69. Started POST "/api/v2/comment/create" for 31.148.171.214 at 2018-08-28 12:47:00 +0000
  70. Processing by Api::V1::CommentsController#create as JSON
  71. Parameters: {"entity_name"=>"EscEntryMeasure", "entity_id"=>"2e419e7b-bdbe-4b05-aba3-b992423dff2f", "text"=>"Rrrrrrrrr", "comment"=>{"entity_id"=>"2e419e7b-bdbe-4b05-aba3-b992423dff2f"}}
  72. Can't verify CSRF token authenticity.
  73. Account Load (0.9ms) SELECT "accounts".* FROM "accounts" INNER JOIN "auth_tokens" ON "auth_tokens"."account_id" = "accounts"."id" WHERE "accounts"."deleted_at" IS NULL AND "auth_tokens"."authentication_token" = $1 ORDER BY email ASC LIMIT $2 [["authentication_token", "RztnV3UFPRAQ1y6CLtaM"], ["LIMIT", 1]]
  74. AuthToken Load (0.5ms) SELECT "auth_tokens".* FROM "auth_tokens" WHERE "auth_tokens"."account_id" = $1 LIMIT $2 [["account_id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["LIMIT", 1]]
  75. Visit Load (0.4ms) SELECT "visits".* FROM "visits" WHERE "visits"."id" = $1 ORDER BY "visits"."id" ASC LIMIT $2 [["id", "dff9fb73-a285-411f-af08-3e66ddcbf704"], ["LIMIT", 1]]
  76. (0.2ms) BEGIN
  77. SQL (0.4ms) UPDATE "accounts" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "last_sign_in_ip" = $3, "sign_in_count" = $4, "updated_at" = $5 WHERE "accounts"."id" = $6 [["current_sign_in_at", "2018-08-28 12:47:00.126253"], ["last_sign_in_at", "2018-08-28 12:46:59.467967"], ["last_sign_in_ip", "31.148.171.214"], ["sign_in_count", 9556], ["updated_at", "2018-08-28 12:47:00.127360"], ["id", "13c3515d-d658-4af6-af62-26bc1b186215"]]
  78. (0.8ms) COMMIT
  79. (0.2ms) BEGIN
  80. SQL (0.4ms) UPDATE "auth_tokens" SET "expire_at" = $1, "updated_at" = $2 WHERE "auth_tokens"."id" = $3 [["expire_at", "2018-09-27 12:47:00.130699"], ["updated_at", "2018-08-28 12:47:00.131468"], ["id", "a24e502a-f02d-4964-89f8-ec5e654821fa"]]
  81. (1.1ms) COMMIT
  82. EscEntryMeasure Load (0.4ms) SELECT "esc_entry_measures".* FROM "esc_entry_measures" WHERE "esc_entry_measures"."deleted_at" IS NULL AND "esc_entry_measures"."id" = $1 LIMIT $2 [["id", "2e419e7b-bdbe-4b05-aba3-b992423dff2f"], ["LIMIT", 1]]
  83. (0.2ms) BEGIN
  84. SQL (0.4ms) INSERT INTO "comments" ("entity_id", "entity_type", "comment", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "2e419e7b-bdbe-4b05-aba3-b992423dff2f"], ["entity_type", "EscEntryMeasure"], ["comment", "Rrrrrrrrr"], ["created_at", "2018-08-28 12:47:00.137031"], ["updated_at", "2018-08-28 12:47:00.137031"]]
  85. EscEntryMeasure Load (0.4ms) SELECT "esc_entry_measures".* FROM "esc_entry_measures" WHERE "esc_entry_measures"."deleted_at" IS NULL AND "esc_entry_measures"."id" = $1 LIMIT $2 [["id", "2e419e7b-bdbe-4b05-aba3-b992423dff2f"], ["LIMIT", 1]]
  86. SQL (0.4ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "65f462ad-b62b-43ba-849d-2d8eb74b3c9b"], ["entity_name", "Comment"], ["archived", "f"], ["created_at", "2018-08-28 12:47:00.141193"], ["updated_at", "2018-08-28 12:47:00.141193"]]
  87. (15.2ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "65f462ad-b62b-43ba-849d-2d8eb74b3c9b"]]
  88. SQL (0.5ms) UPDATE "revisions" SET "creator_account_id" = $1, "number" = $2, "created_timestamp" = $3, "updated_at" = $4 WHERE "revisions"."id" = $5 [["creator_account_id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["number", 1], ["created_timestamp", "2018-08-28 12:47:00.141193"], ["updated_at", "2018-08-28 12:47:00.158879"], ["id", "f0826778-0bee-4424-b162-fc3edccf2d7a"]]
  89. SQL (0.4ms) UPDATE "esc_entry_measures" SET "updated_at" = '2018-08-28 12:47:00.140519' WHERE "esc_entry_measures"."id" = $1 [["id", "2e419e7b-bdbe-4b05-aba3-b992423dff2f"]]
  90. (1.1ms) COMMIT
  91. (0.2ms) BEGIN
  92. SQL (0.5ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "65f462ad-b62b-43ba-849d-2d8eb74b3c9b"], ["entity_name", "Comment"], ["archived", "f"], ["created_at", "2018-08-28 12:47:00.164381"], ["updated_at", "2018-08-28 12:47:00.164381"]]
  93. (14.9ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "65f462ad-b62b-43ba-849d-2d8eb74b3c9b"]]
  94. SQL (0.5ms) UPDATE "revisions" SET "creator_account_id" = $1, "number" = $2, "created_timestamp" = $3, "updated_at" = $4 WHERE "revisions"."id" = $5 [["creator_account_id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["number", 2], ["created_timestamp", "2018-08-28 12:47:00.164381"], ["updated_at", "2018-08-28 12:47:00.181751"], ["id", "970e0e63-498a-49ad-ac15-1437b6426c28"]]
  95. (1.3ms) COMMIT
  96. Image Load (0.9ms) SELECT "images".* FROM "images" WHERE "images"."entity_id" = $1 AND "images"."entity_type" = $2 [["entity_id", "65f462ad-b62b-43ba-849d-2d8eb74b3c9b"], ["entity_type", "Comment"]]
  97. Attachment Load (0.3ms) SELECT "attachments".* FROM "attachments" WHERE "attachments"."entity_id" = $1 AND "attachments"."entity_type" = $2 [["entity_id", "65f462ad-b62b-43ba-849d-2d8eb74b3c9b"], ["entity_type", "Comment"]]
  98. Rendering defaults/response.json.rabl
  99. Rendered defaults/response.json.rabl (1.0ms)
  100. Completed 200 OK in 78ms (Views: 8.1ms | ActiveRecord: 42.7ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement