Advertisement
srghma

Untitled

Aug 28th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 299.64 KB | None | 0 0
  1.  
  2. Started POST "/esc" for 192.168.176.1 at 2018-08-28 12:08:04 +0000
  3. Processing by EscController#create as HTML
  4. Parameters: {"utf8"=>"✓", "authenticity_token"=>"1027tCQt+qcUZeZiFPvWTLczph4mZoHZ8eY1nfb6RdTkiKExTIqErioT09x+APBk4OU8LIeKtK9DQAXbAY0/KA==", "esc_entry"=>{"name"=>"gggggggg", "compliance"=>"local", "local_standard"=>"", "conformance_inspection"=>"0", "plan_examination"=>"0", "inspection_type"=>"rainevent", "amount_of_rainfall"=>"", "present_phase_of_construction"=>"", "current_weather"=>"", "qualifications_of_inspector"=>"", "measures"=>{"5c38d5be-70f0-11e4-ad6a-7cd1c3ebff35"=>{"id"=>"5c38d5be-70f0-11e4-ad6a-7cd1c3ebff35", "compliant"=>"1", "comments"=>{"text"=>"ggggggggg"}}, "5c38c34c-70f0-11e4-8bd6-7cd1c3ebff35"=>{"id"=>"5c38c34c-70f0-11e4-8bd6-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38c43e-70f0-11e4-8522-7cd1c3ebff35"=>{"id"=>"5c38c43e-70f0-11e4-8522-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38c52c-70f0-11e4-a550-7cd1c3ebff35"=>{"id"=>"5c38c52c-70f0-11e4-a550-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38bef6-70f0-11e4-a60c-7cd1c3ebff35"=>{"id"=>"5c38bef6-70f0-11e4-a60c-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38c60a-70f0-11e4-befa-7cd1c3ebff35"=>{"id"=>"5c38c60a-70f0-11e4-befa-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38c6e4-70f0-11e4-bbdc-7cd1c3ebff35"=>{"id"=>"5c38c6e4-70f0-11e4-bbdc-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38c7ca-70f0-11e4-a7a9-7cd1c3ebff35"=>{"id"=>"5c38c7ca-70f0-11e4-a7a9-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38c994-70f0-11e4-b576-7cd1c3ebff35"=>{"id"=>"5c38c994-70f0-11e4-b576-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38c264-70f0-11e4-9fc4-7cd1c3ebff35"=>{"id"=>"5c38c264-70f0-11e4-9fc4-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38ca86-70f0-11e4-bf23-7cd1c3ebff35"=>{"id"=>"5c38ca86-70f0-11e4-bf23-7cd1c3ebff35", "comments"=>{"text"=>""}}, "d7674498-63f3-43cc-84f4-a71f5aa50c1d"=>{"id"=>"d7674498-63f3-43cc-84f4-a71f5aa50c1d", "comments"=>{"text"=>""}}, "324ec583-06dd-48e3-b6df-8efbcea582bb"=>{"id"=>"324ec583-06dd-48e3-b6df-8efbcea582bb", "comments"=>{"text"=>""}}, "5c38c090-70f0-11e4-97bc-7cd1c3ebff35"=>{"id"=>"5c38c090-70f0-11e4-97bc-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38cc48-70f0-11e4-a20a-7cd1c3ebff35"=>{"id"=>"5c38cc48-70f0-11e4-a20a-7cd1c3ebff35", "comments"=>{"text"=>""}}, "a78a9417-2831-475a-911b-e1f1d9d4ce18"=>{"id"=>"a78a9417-2831-475a-911b-e1f1d9d4ce18", "comments"=>{"text"=>""}}, "5c38cd2e-70f0-11e4-97c5-7cd1c3ebff35"=>{"id"=>"5c38cd2e-70f0-11e4-97c5-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38ce1e-70f0-11e4-8e98-7cd1c3ebff35"=>{"id"=>"5c38ce1e-70f0-11e4-8e98-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38cf02-70f0-11e4-9a66-7cd1c3ebff35"=>{"id"=>"5c38cf02-70f0-11e4-9a66-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38c180-70f0-11e4-951b-7cd1c3ebff35"=>{"id"=>"5c38c180-70f0-11e4-951b-7cd1c3ebff35", "comments"=>{"text"=>""}}, "6af56b5f-1e8e-4b18-b8b6-0b29622568d7"=>{"id"=>"6af56b5f-1e8e-4b18-b8b6-0b29622568d7", "comments"=>{"text"=>""}}, "5c38d0da-70f0-11e4-ac44-7cd1c3ebff35"=>{"id"=>"5c38d0da-70f0-11e4-ac44-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38d1c0-70f0-11e4-8d89-7cd1c3ebff35"=>{"id"=>"5c38d1c0-70f0-11e4-8d89-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38c8b0-70f0-11e4-9367-7cd1c3ebff35"=>{"id"=>"5c38c8b0-70f0-11e4-9367-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38cff4-70f0-11e4-a8d5-7cd1c3ebff35"=>{"id"=>"5c38cff4-70f0-11e4-a8d5-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38d2a6-70f0-11e4-974b-7cd1c3ebff35"=>{"id"=>"5c38d2a6-70f0-11e4-974b-7cd1c3ebff35", "comments"=>{"text"=>""}}, "5c38d398-70f0-11e4-ac85-7cd1c3ebff35"=>{"id"=>"5c38d398-70f0-11e4-ac85-7cd1c3ebff35", "comments"=>{"text"=>""}}, "8c3ac612-b340-4cb9-ac5b-254a7bc1c321"=>{"id"=>"8c3ac612-b340-4cb9-ac5b-254a7bc1c321", "comments"=>{"text"=>""}}, "32e56eae-4d8b-449e-848b-5423cbf38477"=>{"id"=>"32e56eae-4d8b-449e-848b-5423cbf38477", "comments"=>{"text"=>""}}, "33c0ab3f-0d22-4df8-8d84-69d81c326982"=>{"id"=>"33c0ab3f-0d22-4df8-8d84-69d81c326982", "comments"=>{"text"=>""}}}}, "project_id"=>"0b526b90-544a-470b-8325-c59655c2fdb9", "tag"=>"", "custom_tag"=>"", "commit"=>"Create"}
  5. Account Load (0.6ms) 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]]
  6. Project Load (0.9ms) 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]]
  7. Query Trace > app/controllers/application_controller.rb:721:in `project_belongs_to_account?'
  8. Project Exists (1.5ms) SELECT 1 AS one FROM "projects" INNER JOIN "project_accounts" ON "projects"."id" = "project_accounts"."project_id" WHERE "projects"."deleted_at" IS NULL AND "project_accounts"."deleted_at" IS NULL AND "project_accounts"."account_id" = $1 AND "projects"."id" = $2 GROUP BY projects.id LIMIT $3 [["account_id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  9. Query Trace > app/controllers/application_controller.rb:723:in `project_belongs_to_account?'
  10. 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]]
  11. Query Trace > app/controllers/application_controller.rb:957:in `project_is_active?'
  12. ProjectSubscription Load (0.8ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  13. Query Trace > app/models/project.rb:240:in `is_active'
  14. from app/controllers/application_controller.rb:958:in `project_is_active?'
  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. Query Trace > app/controllers/application_controller.rb:1031:in `can_edit?'
  17. ProjectAccount Load (0.9ms) 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]]
  18. Query Trace > app/models/account.rb:288:in `get_role'
  19. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  20. from app/controllers/application_controller.rb:1032:in `can_edit?'
  21. ProjectRole Load (0.6ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  22. Query Trace > app/models/account.rb:290:in `get_role'
  23. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  24. from app/controllers/application_controller.rb:1032:in `can_edit?'
  25. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  26. Query Trace > app/models/project.rb:248:in `is_unactive'
  27. from app/controllers/application_controller.rb:1035:in `can_edit?'
  28. 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]]
  29. Query Trace > app/controllers/esc_controller.rb:220:in `set_project'
  30. 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]]
  31. Query Trace > app/controllers/application_controller.rb:1047:in `allowable_credit?'
  32. from app/controllers/esc_controller.rb:11:in `block in <class:EscController>'
  33. ProjectAccount Load (0.9ms) 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]]
  34. Query Trace > app/controllers/application_controller.rb:1048:in `allowable_credit?'
  35. from app/controllers/esc_controller.rb:11:in `block in <class:EscController>'
  36. EscMeasure Load (1.0ms) 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]]
  37. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  38. from app/models/esc_measure.rb:55:in `each'
  39. from app/models/esc_measure.rb:55:in `all_exist?'
  40. from app/controllers/esc_controller.rb:108:in `create'
  41. EscMeasure Load (1.0ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c34c-70f0-11e4-8bd6-7cd1c3ebff35"], ["LIMIT", 1]]
  42. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  43. from app/models/esc_measure.rb:55:in `each'
  44. from app/models/esc_measure.rb:55:in `all_exist?'
  45. from app/controllers/esc_controller.rb:108:in `create'
  46. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c43e-70f0-11e4-8522-7cd1c3ebff35"], ["LIMIT", 1]]
  47. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  48. from app/models/esc_measure.rb:55:in `each'
  49. from app/models/esc_measure.rb:55:in `all_exist?'
  50. from app/controllers/esc_controller.rb:108:in `create'
  51. EscMeasure Load (0.7ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c52c-70f0-11e4-a550-7cd1c3ebff35"], ["LIMIT", 1]]
  52. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  53. from app/models/esc_measure.rb:55:in `each'
  54. from app/models/esc_measure.rb:55:in `all_exist?'
  55. from app/controllers/esc_controller.rb:108:in `create'
  56. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38bef6-70f0-11e4-a60c-7cd1c3ebff35"], ["LIMIT", 1]]
  57. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  58. from app/models/esc_measure.rb:55:in `each'
  59. from app/models/esc_measure.rb:55:in `all_exist?'
  60. from app/controllers/esc_controller.rb:108:in `create'
  61. 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", "5c38c60a-70f0-11e4-befa-7cd1c3ebff35"], ["LIMIT", 1]]
  62. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  63. from app/models/esc_measure.rb:55:in `each'
  64. from app/models/esc_measure.rb:55:in `all_exist?'
  65. from app/controllers/esc_controller.rb:108:in `create'
  66. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c6e4-70f0-11e4-bbdc-7cd1c3ebff35"], ["LIMIT", 1]]
  67. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  68. from app/models/esc_measure.rb:55:in `each'
  69. from app/models/esc_measure.rb:55:in `all_exist?'
  70. from app/controllers/esc_controller.rb:108:in `create'
  71. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c7ca-70f0-11e4-a7a9-7cd1c3ebff35"], ["LIMIT", 1]]
  72. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  73. from app/models/esc_measure.rb:55:in `each'
  74. from app/models/esc_measure.rb:55:in `all_exist?'
  75. from app/controllers/esc_controller.rb:108:in `create'
  76. EscMeasure Load (2.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c994-70f0-11e4-b576-7cd1c3ebff35"], ["LIMIT", 1]]
  77. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  78. from app/models/esc_measure.rb:55:in `each'
  79. from app/models/esc_measure.rb:55:in `all_exist?'
  80. from app/controllers/esc_controller.rb:108:in `create'
  81. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c264-70f0-11e4-9fc4-7cd1c3ebff35"], ["LIMIT", 1]]
  82. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  83. from app/models/esc_measure.rb:55:in `each'
  84. from app/models/esc_measure.rb:55:in `all_exist?'
  85. from app/controllers/esc_controller.rb:108:in `create'
  86. 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", "5c38ca86-70f0-11e4-bf23-7cd1c3ebff35"], ["LIMIT", 1]]
  87. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  88. from app/models/esc_measure.rb:55:in `each'
  89. from app/models/esc_measure.rb:55:in `all_exist?'
  90. from app/controllers/esc_controller.rb:108:in `create'
  91. EscMeasure Load (0.8ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "d7674498-63f3-43cc-84f4-a71f5aa50c1d"], ["LIMIT", 1]]
  92. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  93. from app/models/esc_measure.rb:55:in `each'
  94. from app/models/esc_measure.rb:55:in `all_exist?'
  95. from app/controllers/esc_controller.rb:108:in `create'
  96. EscMeasure Load (0.8ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "324ec583-06dd-48e3-b6df-8efbcea582bb"], ["LIMIT", 1]]
  97. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  98. from app/models/esc_measure.rb:55:in `each'
  99. from app/models/esc_measure.rb:55:in `all_exist?'
  100. from app/controllers/esc_controller.rb:108:in `create'
  101. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c090-70f0-11e4-97bc-7cd1c3ebff35"], ["LIMIT", 1]]
  102. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  103. from app/models/esc_measure.rb:55:in `each'
  104. from app/models/esc_measure.rb:55:in `all_exist?'
  105. from app/controllers/esc_controller.rb:108:in `create'
  106. 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", "5c38cc48-70f0-11e4-a20a-7cd1c3ebff35"], ["LIMIT", 1]]
  107. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  108. from app/models/esc_measure.rb:55:in `each'
  109. from app/models/esc_measure.rb:55:in `all_exist?'
  110. from app/controllers/esc_controller.rb:108:in `create'
  111. EscMeasure Load (1.8ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "a78a9417-2831-475a-911b-e1f1d9d4ce18"], ["LIMIT", 1]]
  112. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  113. from app/models/esc_measure.rb:55:in `each'
  114. from app/models/esc_measure.rb:55:in `all_exist?'
  115. from app/controllers/esc_controller.rb:108:in `create'
  116. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38cd2e-70f0-11e4-97c5-7cd1c3ebff35"], ["LIMIT", 1]]
  117. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  118. from app/models/esc_measure.rb:55:in `each'
  119. from app/models/esc_measure.rb:55:in `all_exist?'
  120. from app/controllers/esc_controller.rb:108:in `create'
  121. 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", "5c38ce1e-70f0-11e4-8e98-7cd1c3ebff35"], ["LIMIT", 1]]
  122. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  123. from app/models/esc_measure.rb:55:in `each'
  124. from app/models/esc_measure.rb:55:in `all_exist?'
  125. from app/controllers/esc_controller.rb:108:in `create'
  126. EscMeasure Load (0.8ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38cf02-70f0-11e4-9a66-7cd1c3ebff35"], ["LIMIT", 1]]
  127. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  128. from app/models/esc_measure.rb:55:in `each'
  129. from app/models/esc_measure.rb:55:in `all_exist?'
  130. from app/controllers/esc_controller.rb:108:in `create'
  131. EscMeasure Load (0.9ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c180-70f0-11e4-951b-7cd1c3ebff35"], ["LIMIT", 1]]
  132. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  133. from app/models/esc_measure.rb:55:in `each'
  134. from app/models/esc_measure.rb:55:in `all_exist?'
  135. from app/controllers/esc_controller.rb:108:in `create'
  136. 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", "6af56b5f-1e8e-4b18-b8b6-0b29622568d7"], ["LIMIT", 1]]
  137. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  138. from app/models/esc_measure.rb:55:in `each'
  139. from app/models/esc_measure.rb:55:in `all_exist?'
  140. from app/controllers/esc_controller.rb:108:in `create'
  141. EscMeasure Load (0.7ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d0da-70f0-11e4-ac44-7cd1c3ebff35"], ["LIMIT", 1]]
  142. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  143. from app/models/esc_measure.rb:55:in `each'
  144. from app/models/esc_measure.rb:55:in `all_exist?'
  145. from app/controllers/esc_controller.rb:108:in `create'
  146. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d1c0-70f0-11e4-8d89-7cd1c3ebff35"], ["LIMIT", 1]]
  147. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  148. from app/models/esc_measure.rb:55:in `each'
  149. from app/models/esc_measure.rb:55:in `all_exist?'
  150. from app/controllers/esc_controller.rb:108:in `create'
  151. 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", "5c38c8b0-70f0-11e4-9367-7cd1c3ebff35"], ["LIMIT", 1]]
  152. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  153. from app/models/esc_measure.rb:55:in `each'
  154. from app/models/esc_measure.rb:55:in `all_exist?'
  155. from app/controllers/esc_controller.rb:108:in `create'
  156. 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", "5c38cff4-70f0-11e4-a8d5-7cd1c3ebff35"], ["LIMIT", 1]]
  157. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  158. from app/models/esc_measure.rb:55:in `each'
  159. from app/models/esc_measure.rb:55:in `all_exist?'
  160. from app/controllers/esc_controller.rb:108:in `create'
  161. EscMeasure Load (0.8ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d2a6-70f0-11e4-974b-7cd1c3ebff35"], ["LIMIT", 1]]
  162. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  163. from app/models/esc_measure.rb:55:in `each'
  164. from app/models/esc_measure.rb:55:in `all_exist?'
  165. from app/controllers/esc_controller.rb:108:in `create'
  166. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d398-70f0-11e4-ac85-7cd1c3ebff35"], ["LIMIT", 1]]
  167. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  168. from app/models/esc_measure.rb:55:in `each'
  169. from app/models/esc_measure.rb:55:in `all_exist?'
  170. from app/controllers/esc_controller.rb:108:in `create'
  171. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "8c3ac612-b340-4cb9-ac5b-254a7bc1c321"], ["LIMIT", 1]]
  172. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  173. from app/models/esc_measure.rb:55:in `each'
  174. from app/models/esc_measure.rb:55:in `all_exist?'
  175. from app/controllers/esc_controller.rb:108:in `create'
  176. 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", "32e56eae-4d8b-449e-848b-5423cbf38477"], ["LIMIT", 1]]
  177. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  178. from app/models/esc_measure.rb:55:in `each'
  179. from app/models/esc_measure.rb:55:in `all_exist?'
  180. from app/controllers/esc_controller.rb:108:in `create'
  181. EscMeasure Load (1.3ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "33c0ab3f-0d22-4df8-8d84-69d81c326982"], ["LIMIT", 1]]
  182. Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
  183. from app/models/esc_measure.rb:55:in `each'
  184. from app/models/esc_measure.rb:55:in `all_exist?'
  185. from app/controllers/esc_controller.rb:108:in `create'
  186. (0.4ms) BEGIN
  187. Query Trace > app/controllers/esc_controller.rb:111:in `create'
  188. SQL (0.9ms) INSERT INTO "esc_entries" ("project_id", "name", "compliance", "local_standard", "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, $13) RETURNING "id" [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["name", "gggggggg"], ["compliance", "local"], ["local_standard", ""], ["conformance_inspection", "f"], ["plan_examination", "f"], ["created_at", "2018-08-28 12:08:04.650288"], ["updated_at", "2018-08-28 12:08:04.650288"], ["inspection_type", "rainevent"], ["qualifications_of_inspector", ""], ["present_phase_of_construction", ""], ["current_weather", ""], ["amount_of_rainfall", ""]]
  189. Query Trace > app/controllers/esc_controller.rb:111:in `create'
  190. Project Load (0.8ms) 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]]
  191. Query Trace > app/controllers/esc_controller.rb:111:in `create'
  192. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["entity_name", "EscEntry"], ["archived", "f"], ["created_at", "2018-08-28 12:08:04.663440"], ["updated_at", "2018-08-28 12:08:04.663440"]]
  193. Query Trace > app/models/esc_entry.rb:134:in `create_revision'
  194. from app/controllers/esc_controller.rb:111:in `create'
  195. (18.8ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "1a2bcc75-974f-4557-af6b-f265600bb554"]]
  196. Query Trace > app/models/revision.rb:147:in `add_data'
  197. from app/models/esc_entry.rb:134:in `create_revision'
  198. from app/controllers/esc_controller.rb:111:in `create'
  199. SQL (0.6ms) 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:08:04.663440"], ["updated_at", "2018-08-28 12:08:04.692361"], ["id", "389b17b5-978e-4372-bcd9-6a7dab1c803e"]]
  200. Query Trace > app/models/revision.rb:148:in `add_data'
  201. from app/models/esc_entry.rb:134:in `create_revision'
  202. from app/controllers/esc_controller.rb:111:in `create'
  203. SQL (0.6ms) UPDATE "projects" SET "updated_at" = '2018-08-28 12:08:04.661877' WHERE "projects"."id" = $1 [["id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  204. Query Trace > app/controllers/esc_controller.rb:111:in `create'
  205. (4.7ms) COMMIT
  206. Query Trace > app/controllers/esc_controller.rb:111:in `create'
  207. EscMeasure Load (0.7ms) 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]]
  208. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  209. from app/models/esc_entry.rb:156:in `create_entry_measures'
  210. from app/controllers/esc_controller.rb:112:in `create'
  211. (0.4ms) BEGIN
  212. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  213. from app/models/esc_entry.rb:156:in `create_entry_measures'
  214. from app/controllers/esc_controller.rb:112:in `create'
  215. SQL (0.7ms) 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", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38d5be-70f0-11e4-ad6a-7cd1c3ebff35"], ["compliant", "t"], ["created_at", "2018-08-28 12:08:04.721339"], ["updated_at", "2018-08-28 12:08:04.721339"]]
  216. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  217. from app/models/esc_entry.rb:156:in `create_entry_measures'
  218. from app/controllers/esc_controller.rb:112:in `create'
  219. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "f124653d-e2ba-4bd8-904a-ff8882d20eaf"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:04.726100"], ["updated_at", "2018-08-28 12:08:04.726100"]]
  220. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  221. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  222. from app/models/esc_entry.rb:156:in `create_entry_measures'
  223. from app/controllers/esc_controller.rb:112:in `create'
  224. (20.7ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "f124653d-e2ba-4bd8-904a-ff8882d20eaf"]]
  225. Query Trace > app/models/revision.rb:147:in `add_data'
  226. from app/models/esc_entry_measure.rb:66:in `create_revision'
  227. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  228. from app/models/esc_entry.rb:156:in `create_entry_measures'
  229. from app/controllers/esc_controller.rb:112:in `create'
  230. SQL (0.6ms) 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:08:04.726100"], ["updated_at", "2018-08-28 12:08:04.756615"], ["id", "1a6512fa-9939-472f-a573-554c3be4d741"]]
  231. Query Trace > app/models/revision.rb:148:in `add_data'
  232. from app/models/esc_entry_measure.rb:66:in `create_revision'
  233. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  234. from app/models/esc_entry.rb:156:in `create_entry_measures'
  235. from app/controllers/esc_controller.rb:112:in `create'
  236. (2.1ms) COMMIT
  237. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  238. from app/models/esc_entry.rb:156:in `create_entry_measures'
  239. from app/controllers/esc_controller.rb:112:in `create'
  240. Comment Load (1.7ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "f124653d-e2ba-4bd8-904a-ff8882d20eaf"], ["LIMIT", 1]]
  241. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  242. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  243. from app/models/esc_entry.rb:156:in `create_entry_measures'
  244. from app/controllers/esc_controller.rb:112:in `create'
  245. (0.3ms) BEGIN
  246. Query Trace > app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
  247. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  248. from app/models/esc_entry.rb:156:in `create_entry_measures'
  249. from app/controllers/esc_controller.rb:112:in `create'
  250. SQL (1.2ms) INSERT INTO "comments" ("entity_id", "entity_type", "comment", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "f124653d-e2ba-4bd8-904a-ff8882d20eaf"], ["entity_type", "EscEntryMeasure"], ["comment", "ggggggggg"], ["created_at", "2018-08-28 12:08:04.776817"], ["updated_at", "2018-08-28 12:08:04.776817"]]
  251. Query Trace > app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
  252. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  253. from app/models/esc_entry.rb:156:in `create_entry_measures'
  254. from app/controllers/esc_controller.rb:112:in `create'
  255. EscEntryMeasure Load (0.6ms) 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", "f124653d-e2ba-4bd8-904a-ff8882d20eaf"], ["LIMIT", 1]]
  256. Query Trace > app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
  257. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  258. from app/models/esc_entry.rb:156:in `create_entry_measures'
  259. from app/controllers/esc_controller.rb:112:in `create'
  260. SQL (1.0ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "9e45d571-b3f9-4951-9a30-0e892af2954a"], ["entity_name", "Comment"], ["archived", "f"], ["created_at", "2018-08-28 12:08:04.794383"], ["updated_at", "2018-08-28 12:08:04.794383"]]
  261. Query Trace > app/models/comment.rb:72:in `create_revision'
  262. from app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
  263. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  264. from app/models/esc_entry.rb:156:in `create_entry_measures'
  265. from app/controllers/esc_controller.rb:112:in `create'
  266. (21.3ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "9e45d571-b3f9-4951-9a30-0e892af2954a"]]
  267. Query Trace > app/models/revision.rb:147:in `add_data'
  268. from app/models/comment.rb:72:in `create_revision'
  269. from app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
  270. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  271. from app/models/esc_entry.rb:156:in `create_entry_measures'
  272. SQL (0.6ms) 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:08:04.794383"], ["updated_at", "2018-08-28 12:08:04.824822"], ["id", "f7b03bc4-b581-4f4b-9a79-9a85a1b6012d"]]
  273. Query Trace > app/models/revision.rb:148:in `add_data'
  274. from app/models/comment.rb:72:in `create_revision'
  275. from app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
  276. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  277. from app/models/esc_entry.rb:156:in `create_entry_measures'
  278. SQL (0.6ms) UPDATE "esc_entry_measures" SET "updated_at" = '2018-08-28 12:08:04.793138' WHERE "esc_entry_measures"."id" = $1 [["id", "f124653d-e2ba-4bd8-904a-ff8882d20eaf"]]
  279. Query Trace > app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
  280. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  281. from app/models/esc_entry.rb:156:in `create_entry_measures'
  282. from app/controllers/esc_controller.rb:112:in `create'
  283. (1.1ms) COMMIT
  284. Query Trace > app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
  285. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  286. from app/models/esc_entry.rb:156:in `create_entry_measures'
  287. from app/controllers/esc_controller.rb:112:in `create'
  288. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c34c-70f0-11e4-8bd6-7cd1c3ebff35"], ["LIMIT", 1]]
  289. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  290. from app/models/esc_entry.rb:156:in `create_entry_measures'
  291. from app/controllers/esc_controller.rb:112:in `create'
  292. (0.7ms) BEGIN
  293. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  294. from app/models/esc_entry.rb:156:in `create_entry_measures'
  295. from app/controllers/esc_controller.rb:112:in `create'
  296. SQL (0.8ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c34c-70f0-11e4-8bd6-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:04.850817"], ["updated_at", "2018-08-28 12:08:04.850817"]]
  297. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  298. from app/models/esc_entry.rb:156:in `create_entry_measures'
  299. from app/controllers/esc_controller.rb:112:in `create'
  300. SQL (1.5ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "bea9623b-ad60-43d1-83f8-6d043376d268"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:04.855662"], ["updated_at", "2018-08-28 12:08:04.855662"]]
  301. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  302. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  303. from app/models/esc_entry.rb:156:in `create_entry_measures'
  304. from app/controllers/esc_controller.rb:112:in `create'
  305. (19.6ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "bea9623b-ad60-43d1-83f8-6d043376d268"]]
  306. Query Trace > app/models/revision.rb:147:in `add_data'
  307. from app/models/esc_entry_measure.rb:66:in `create_revision'
  308. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  309. from app/models/esc_entry.rb:156:in `create_entry_measures'
  310. from app/controllers/esc_controller.rb:112:in `create'
  311. SQL (0.6ms) 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:08:04.855662"], ["updated_at", "2018-08-28 12:08:04.887663"], ["id", "d1c6a937-bb40-4f6d-9419-a6bf6b7afe75"]]
  312. Query Trace > app/models/revision.rb:148:in `add_data'
  313. from app/models/esc_entry_measure.rb:66:in `create_revision'
  314. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  315. from app/models/esc_entry.rb:156:in `create_entry_measures'
  316. from app/controllers/esc_controller.rb:112:in `create'
  317. (1.3ms) COMMIT
  318. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  319. from app/models/esc_entry.rb:156:in `create_entry_measures'
  320. from app/controllers/esc_controller.rb:112:in `create'
  321. Comment Load (1.8ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "bea9623b-ad60-43d1-83f8-6d043376d268"], ["LIMIT", 1]]
  322. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  323. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  324. from app/models/esc_entry.rb:156:in `create_entry_measures'
  325. from app/controllers/esc_controller.rb:112:in `create'
  326. EscMeasure Load (0.7ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c43e-70f0-11e4-8522-7cd1c3ebff35"], ["LIMIT", 1]]
  327. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  328. from app/models/esc_entry.rb:156:in `create_entry_measures'
  329. from app/controllers/esc_controller.rb:112:in `create'
  330. (0.4ms) BEGIN
  331. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  332. from app/models/esc_entry.rb:156:in `create_entry_measures'
  333. from app/controllers/esc_controller.rb:112:in `create'
  334. SQL (0.8ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c43e-70f0-11e4-8522-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:04.916022"], ["updated_at", "2018-08-28 12:08:04.916022"]]
  335. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  336. from app/models/esc_entry.rb:156:in `create_entry_measures'
  337. from app/controllers/esc_controller.rb:112:in `create'
  338. SQL (1.1ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "4d959ce6-f310-4741-a27f-e9a6f9d27462"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:04.923144"], ["updated_at", "2018-08-28 12:08:04.923144"]]
  339. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  340. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  341. from app/models/esc_entry.rb:156:in `create_entry_measures'
  342. from app/controllers/esc_controller.rb:112:in `create'
  343. (19.4ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "4d959ce6-f310-4741-a27f-e9a6f9d27462"]]
  344. Query Trace > app/models/revision.rb:147:in `add_data'
  345. from app/models/esc_entry_measure.rb:66:in `create_revision'
  346. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  347. from app/models/esc_entry.rb:156:in `create_entry_measures'
  348. from app/controllers/esc_controller.rb:112:in `create'
  349. SQL (0.6ms) 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:08:04.923144"], ["updated_at", "2018-08-28 12:08:04.952864"], ["id", "235a17f9-c0bc-499b-8029-e519c94fe2fd"]]
  350. Query Trace > app/models/revision.rb:148:in `add_data'
  351. from app/models/esc_entry_measure.rb:66:in `create_revision'
  352. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  353. from app/models/esc_entry.rb:156:in `create_entry_measures'
  354. from app/controllers/esc_controller.rb:112:in `create'
  355. (1.1ms) COMMIT
  356. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  357. from app/models/esc_entry.rb:156:in `create_entry_measures'
  358. from app/controllers/esc_controller.rb:112:in `create'
  359. Comment Load (2.0ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "4d959ce6-f310-4741-a27f-e9a6f9d27462"], ["LIMIT", 1]]
  360. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  361. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  362. from app/models/esc_entry.rb:156:in `create_entry_measures'
  363. from app/controllers/esc_controller.rb:112:in `create'
  364. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c52c-70f0-11e4-a550-7cd1c3ebff35"], ["LIMIT", 1]]
  365. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  366. from app/models/esc_entry.rb:156:in `create_entry_measures'
  367. from app/controllers/esc_controller.rb:112:in `create'
  368. (0.4ms) BEGIN
  369. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  370. from app/models/esc_entry.rb:156:in `create_entry_measures'
  371. from app/controllers/esc_controller.rb:112:in `create'
  372. SQL (1.6ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c52c-70f0-11e4-a550-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:04.975786"], ["updated_at", "2018-08-28 12:08:04.975786"]]
  373. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  374. from app/models/esc_entry.rb:156:in `create_entry_measures'
  375. from app/controllers/esc_controller.rb:112:in `create'
  376. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "49a4b70a-506c-4dd0-b53e-0d84b554988c"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:04.983316"], ["updated_at", "2018-08-28 12:08:04.983316"]]
  377. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  378. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  379. from app/models/esc_entry.rb:156:in `create_entry_measures'
  380. from app/controllers/esc_controller.rb:112:in `create'
  381. (18.3ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "49a4b70a-506c-4dd0-b53e-0d84b554988c"]]
  382. Query Trace > app/models/revision.rb:147:in `add_data'
  383. from app/models/esc_entry_measure.rb:66:in `create_revision'
  384. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  385. from app/models/esc_entry.rb:156:in `create_entry_measures'
  386. from app/controllers/esc_controller.rb:112:in `create'
  387. SQL (0.6ms) 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:08:04.983316"], ["updated_at", "2018-08-28 12:08:05.012500"], ["id", "35e6e5a3-2932-46e2-9e44-159b346520f3"]]
  388. Query Trace > app/models/revision.rb:148:in `add_data'
  389. from app/models/esc_entry_measure.rb:66:in `create_revision'
  390. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  391. from app/models/esc_entry.rb:156:in `create_entry_measures'
  392. from app/controllers/esc_controller.rb:112:in `create'
  393. (1.1ms) COMMIT
  394. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  395. from app/models/esc_entry.rb:156:in `create_entry_measures'
  396. from app/controllers/esc_controller.rb:112:in `create'
  397. Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "49a4b70a-506c-4dd0-b53e-0d84b554988c"], ["LIMIT", 1]]
  398. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  399. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  400. from app/models/esc_entry.rb:156:in `create_entry_measures'
  401. from app/controllers/esc_controller.rb:112:in `create'
  402. 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", "5c38bef6-70f0-11e4-a60c-7cd1c3ebff35"], ["LIMIT", 1]]
  403. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  404. from app/models/esc_entry.rb:156:in `create_entry_measures'
  405. from app/controllers/esc_controller.rb:112:in `create'
  406. (0.7ms) BEGIN
  407. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  408. from app/models/esc_entry.rb:156:in `create_entry_measures'
  409. from app/controllers/esc_controller.rb:112:in `create'
  410. SQL (0.7ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38bef6-70f0-11e4-a60c-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.031448"], ["updated_at", "2018-08-28 12:08:05.031448"]]
  411. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  412. from app/models/esc_entry.rb:156:in `create_entry_measures'
  413. from app/controllers/esc_controller.rb:112:in `create'
  414. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "3e71780a-f600-4938-a8ed-4185ae4de8e0"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.037053"], ["updated_at", "2018-08-28 12:08:05.037053"]]
  415. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  416. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  417. from app/models/esc_entry.rb:156:in `create_entry_measures'
  418. from app/controllers/esc_controller.rb:112:in `create'
  419. (16.3ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "3e71780a-f600-4938-a8ed-4185ae4de8e0"]]
  420. Query Trace > app/models/revision.rb:147:in `add_data'
  421. from app/models/esc_entry_measure.rb:66:in `create_revision'
  422. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  423. from app/models/esc_entry.rb:156:in `create_entry_measures'
  424. from app/controllers/esc_controller.rb:112:in `create'
  425. SQL (0.6ms) 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:08:05.037053"], ["updated_at", "2018-08-28 12:08:05.067156"], ["id", "f3b94339-1cd0-43e4-9958-eff704da6c0b"]]
  426. Query Trace > app/models/revision.rb:148:in `add_data'
  427. from app/models/esc_entry_measure.rb:66:in `create_revision'
  428. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  429. from app/models/esc_entry.rb:156:in `create_entry_measures'
  430. from app/controllers/esc_controller.rb:112:in `create'
  431. (1.1ms) COMMIT
  432. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  433. from app/models/esc_entry.rb:156:in `create_entry_measures'
  434. from app/controllers/esc_controller.rb:112:in `create'
  435. Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "3e71780a-f600-4938-a8ed-4185ae4de8e0"], ["LIMIT", 1]]
  436. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  437. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  438. from app/models/esc_entry.rb:156:in `create_entry_measures'
  439. from app/controllers/esc_controller.rb:112:in `create'
  440. EscMeasure Load (1.5ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c60a-70f0-11e4-befa-7cd1c3ebff35"], ["LIMIT", 1]]
  441. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  442. from app/models/esc_entry.rb:156:in `create_entry_measures'
  443. from app/controllers/esc_controller.rb:112:in `create'
  444. (0.3ms) BEGIN
  445. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  446. from app/models/esc_entry.rb:156:in `create_entry_measures'
  447. from app/controllers/esc_controller.rb:112:in `create'
  448. SQL (0.7ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c60a-70f0-11e4-befa-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.089983"], ["updated_at", "2018-08-28 12:08:05.089983"]]
  449. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  450. from app/models/esc_entry.rb:156:in `create_entry_measures'
  451. from app/controllers/esc_controller.rb:112:in `create'
  452. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "ff564102-4b5c-49ce-8186-96aee4608f39"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.098215"], ["updated_at", "2018-08-28 12:08:05.098215"]]
  453. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  454. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  455. from app/models/esc_entry.rb:156:in `create_entry_measures'
  456. from app/controllers/esc_controller.rb:112:in `create'
  457. (18.9ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "ff564102-4b5c-49ce-8186-96aee4608f39"]]
  458. Query Trace > app/models/revision.rb:147:in `add_data'
  459. from app/models/esc_entry_measure.rb:66:in `create_revision'
  460. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  461. from app/models/esc_entry.rb:156:in `create_entry_measures'
  462. from app/controllers/esc_controller.rb:112:in `create'
  463. SQL (0.7ms) 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:08:05.098215"], ["updated_at", "2018-08-28 12:08:05.124357"], ["id", "a10d12af-6ec2-442b-923c-f86f97df853f"]]
  464. Query Trace > app/models/revision.rb:148:in `add_data'
  465. from app/models/esc_entry_measure.rb:66:in `create_revision'
  466. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  467. from app/models/esc_entry.rb:156:in `create_entry_measures'
  468. from app/controllers/esc_controller.rb:112:in `create'
  469. (1.6ms) COMMIT
  470. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  471. from app/models/esc_entry.rb:156:in `create_entry_measures'
  472. from app/controllers/esc_controller.rb:112:in `create'
  473. Comment Load (1.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "ff564102-4b5c-49ce-8186-96aee4608f39"], ["LIMIT", 1]]
  474. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  475. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  476. from app/models/esc_entry.rb:156:in `create_entry_measures'
  477. from app/controllers/esc_controller.rb:112:in `create'
  478. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c6e4-70f0-11e4-bbdc-7cd1c3ebff35"], ["LIMIT", 1]]
  479. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  480. from app/models/esc_entry.rb:156:in `create_entry_measures'
  481. from app/controllers/esc_controller.rb:112:in `create'
  482. (0.4ms) BEGIN
  483. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  484. from app/models/esc_entry.rb:156:in `create_entry_measures'
  485. from app/controllers/esc_controller.rb:112:in `create'
  486. SQL (0.7ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c6e4-70f0-11e4-bbdc-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.151715"], ["updated_at", "2018-08-28 12:08:05.151715"]]
  487. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  488. from app/models/esc_entry.rb:156:in `create_entry_measures'
  489. from app/controllers/esc_controller.rb:112:in `create'
  490. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "740ba91d-31f1-4c4e-b662-28c137168675"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.156670"], ["updated_at", "2018-08-28 12:08:05.156670"]]
  491. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  492. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  493. from app/models/esc_entry.rb:156:in `create_entry_measures'
  494. from app/controllers/esc_controller.rb:112:in `create'
  495. (19.9ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "740ba91d-31f1-4c4e-b662-28c137168675"]]
  496. Query Trace > app/models/revision.rb:147:in `add_data'
  497. from app/models/esc_entry_measure.rb:66:in `create_revision'
  498. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  499. from app/models/esc_entry.rb:156:in `create_entry_measures'
  500. from app/controllers/esc_controller.rb:112:in `create'
  501. SQL (0.6ms) 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:08:05.156670"], ["updated_at", "2018-08-28 12:08:05.186645"], ["id", "c0c6cf71-53cd-47f8-a85d-a99ad7dd6c93"]]
  502. Query Trace > app/models/revision.rb:148:in `add_data'
  503. from app/models/esc_entry_measure.rb:66:in `create_revision'
  504. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  505. from app/models/esc_entry.rb:156:in `create_entry_measures'
  506. from app/controllers/esc_controller.rb:112:in `create'
  507. (3.5ms) COMMIT
  508. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  509. from app/models/esc_entry.rb:156:in `create_entry_measures'
  510. from app/controllers/esc_controller.rb:112:in `create'
  511. Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "740ba91d-31f1-4c4e-b662-28c137168675"], ["LIMIT", 1]]
  512. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  513. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  514. from app/models/esc_entry.rb:156:in `create_entry_measures'
  515. from app/controllers/esc_controller.rb:112:in `create'
  516. 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", "5c38c7ca-70f0-11e4-a7a9-7cd1c3ebff35"], ["LIMIT", 1]]
  517. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  518. from app/models/esc_entry.rb:156:in `create_entry_measures'
  519. from app/controllers/esc_controller.rb:112:in `create'
  520. (0.3ms) BEGIN
  521. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  522. from app/models/esc_entry.rb:156:in `create_entry_measures'
  523. from app/controllers/esc_controller.rb:112:in `create'
  524. SQL (0.7ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c7ca-70f0-11e4-a7a9-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.221097"], ["updated_at", "2018-08-28 12:08:05.221097"]]
  525. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  526. from app/models/esc_entry.rb:156:in `create_entry_measures'
  527. from app/controllers/esc_controller.rb:112:in `create'
  528. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "5c0720fb-98d0-4b73-84b7-bc056989c16f"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.227186"], ["updated_at", "2018-08-28 12:08:05.227186"]]
  529. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  530. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  531. from app/models/esc_entry.rb:156:in `create_entry_measures'
  532. from app/controllers/esc_controller.rb:112:in `create'
  533. (20.1ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "5c0720fb-98d0-4b73-84b7-bc056989c16f"]]
  534. Query Trace > app/models/revision.rb:147:in `add_data'
  535. from app/models/esc_entry_measure.rb:66:in `create_revision'
  536. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  537. from app/models/esc_entry.rb:156:in `create_entry_measures'
  538. from app/controllers/esc_controller.rb:112:in `create'
  539. SQL (0.6ms) 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:08:05.227186"], ["updated_at", "2018-08-28 12:08:05.254323"], ["id", "874d4d6f-3224-4ded-b79e-c0164a4b4081"]]
  540. Query Trace > app/models/revision.rb:148:in `add_data'
  541. from app/models/esc_entry_measure.rb:66:in `create_revision'
  542. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  543. from app/models/esc_entry.rb:156:in `create_entry_measures'
  544. from app/controllers/esc_controller.rb:112:in `create'
  545. (1.2ms) COMMIT
  546. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  547. from app/models/esc_entry.rb:156:in `create_entry_measures'
  548. from app/controllers/esc_controller.rb:112:in `create'
  549. Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "5c0720fb-98d0-4b73-84b7-bc056989c16f"], ["LIMIT", 1]]
  550. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  551. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  552. from app/models/esc_entry.rb:156:in `create_entry_measures'
  553. from app/controllers/esc_controller.rb:112:in `create'
  554. 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", "5c38c994-70f0-11e4-b576-7cd1c3ebff35"], ["LIMIT", 1]]
  555. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  556. from app/models/esc_entry.rb:156:in `create_entry_measures'
  557. from app/controllers/esc_controller.rb:112:in `create'
  558. (0.4ms) BEGIN
  559. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  560. from app/models/esc_entry.rb:156:in `create_entry_measures'
  561. from app/controllers/esc_controller.rb:112:in `create'
  562. SQL (0.8ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c994-70f0-11e4-b576-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.270789"], ["updated_at", "2018-08-28 12:08:05.270789"]]
  563. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  564. from app/models/esc_entry.rb:156:in `create_entry_measures'
  565. from app/controllers/esc_controller.rb:112:in `create'
  566. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "03907d15-f8ec-4d4b-85a7-dfdda14fe6d7"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.275341"], ["updated_at", "2018-08-28 12:08:05.275341"]]
  567. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  568. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  569. from app/models/esc_entry.rb:156:in `create_entry_measures'
  570. from app/controllers/esc_controller.rb:112:in `create'
  571. (18.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "03907d15-f8ec-4d4b-85a7-dfdda14fe6d7"]]
  572. Query Trace > app/models/revision.rb:147:in `add_data'
  573. from app/models/esc_entry_measure.rb:66:in `create_revision'
  574. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  575. from app/models/esc_entry.rb:156:in `create_entry_measures'
  576. from app/controllers/esc_controller.rb:112:in `create'
  577. SQL (0.6ms) 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:08:05.275341"], ["updated_at", "2018-08-28 12:08:05.302618"], ["id", "a1e0e858-f97a-432a-a4cb-7b6dea91ce2a"]]
  578. Query Trace > app/models/revision.rb:148:in `add_data'
  579. from app/models/esc_entry_measure.rb:66:in `create_revision'
  580. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  581. from app/models/esc_entry.rb:156:in `create_entry_measures'
  582. from app/controllers/esc_controller.rb:112:in `create'
  583. (4.0ms) COMMIT
  584. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  585. from app/models/esc_entry.rb:156:in `create_entry_measures'
  586. from app/controllers/esc_controller.rb:112:in `create'
  587. Comment Load (1.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "03907d15-f8ec-4d4b-85a7-dfdda14fe6d7"], ["LIMIT", 1]]
  588. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  589. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  590. from app/models/esc_entry.rb:156:in `create_entry_measures'
  591. from app/controllers/esc_controller.rb:112:in `create'
  592. 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", "5c38c264-70f0-11e4-9fc4-7cd1c3ebff35"], ["LIMIT", 1]]
  593. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  594. from app/models/esc_entry.rb:156:in `create_entry_measures'
  595. from app/controllers/esc_controller.rb:112:in `create'
  596. (0.3ms) BEGIN
  597. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  598. from app/models/esc_entry.rb:156:in `create_entry_measures'
  599. from app/controllers/esc_controller.rb:112:in `create'
  600. SQL (0.6ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c264-70f0-11e4-9fc4-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.325158"], ["updated_at", "2018-08-28 12:08:05.325158"]]
  601. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  602. from app/models/esc_entry.rb:156:in `create_entry_measures'
  603. from app/controllers/esc_controller.rb:112:in `create'
  604. SQL (1.0ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "90eb2860-6b9e-4e80-82f6-13bcf92c183e"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.329082"], ["updated_at", "2018-08-28 12:08:05.329082"]]
  605. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  606. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  607. from app/models/esc_entry.rb:156:in `create_entry_measures'
  608. from app/controllers/esc_controller.rb:112:in `create'
  609. (20.0ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "90eb2860-6b9e-4e80-82f6-13bcf92c183e"]]
  610. Query Trace > app/models/revision.rb:147:in `add_data'
  611. from app/models/esc_entry_measure.rb:66:in `create_revision'
  612. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  613. from app/models/esc_entry.rb:156:in `create_entry_measures'
  614. from app/controllers/esc_controller.rb:112:in `create'
  615. SQL (0.6ms) 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:08:05.329082"], ["updated_at", "2018-08-28 12:08:05.356882"], ["id", "b0773f52-c52f-4d5f-acd8-0314efba7dda"]]
  616. Query Trace > app/models/revision.rb:148:in `add_data'
  617. from app/models/esc_entry_measure.rb:66:in `create_revision'
  618. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  619. from app/models/esc_entry.rb:156:in `create_entry_measures'
  620. from app/controllers/esc_controller.rb:112:in `create'
  621. (2.7ms) COMMIT
  622. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  623. from app/models/esc_entry.rb:156:in `create_entry_measures'
  624. from app/controllers/esc_controller.rb:112:in `create'
  625. Comment Load (1.7ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "90eb2860-6b9e-4e80-82f6-13bcf92c183e"], ["LIMIT", 1]]
  626. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  627. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  628. from app/models/esc_entry.rb:156:in `create_entry_measures'
  629. from app/controllers/esc_controller.rb:112:in `create'
  630. 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", "5c38ca86-70f0-11e4-bf23-7cd1c3ebff35"], ["LIMIT", 1]]
  631. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  632. from app/models/esc_entry.rb:156:in `create_entry_measures'
  633. from app/controllers/esc_controller.rb:112:in `create'
  634. (0.5ms) BEGIN
  635. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  636. from app/models/esc_entry.rb:156:in `create_entry_measures'
  637. from app/controllers/esc_controller.rb:112:in `create'
  638. SQL (0.7ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38ca86-70f0-11e4-bf23-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.375522"], ["updated_at", "2018-08-28 12:08:05.375522"]]
  639. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  640. from app/models/esc_entry.rb:156:in `create_entry_measures'
  641. from app/controllers/esc_controller.rb:112:in `create'
  642. SQL (2.0ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "f47691ed-fa3f-45ef-b165-797724a69047"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.381922"], ["updated_at", "2018-08-28 12:08:05.381922"]]
  643. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  644. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  645. from app/models/esc_entry.rb:156:in `create_entry_measures'
  646. from app/controllers/esc_controller.rb:112:in `create'
  647. (16.9ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "f47691ed-fa3f-45ef-b165-797724a69047"]]
  648. Query Trace > app/models/revision.rb:147:in `add_data'
  649. from app/models/esc_entry_measure.rb:66:in `create_revision'
  650. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  651. from app/models/esc_entry.rb:156:in `create_entry_measures'
  652. from app/controllers/esc_controller.rb:112:in `create'
  653. SQL (0.7ms) 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:08:05.381922"], ["updated_at", "2018-08-28 12:08:05.409806"], ["id", "9bd7f464-d10b-4a82-bf60-320ef4bf5316"]]
  654. Query Trace > app/models/revision.rb:148:in `add_data'
  655. from app/models/esc_entry_measure.rb:66:in `create_revision'
  656. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  657. from app/models/esc_entry.rb:156:in `create_entry_measures'
  658. from app/controllers/esc_controller.rb:112:in `create'
  659. (1.6ms) COMMIT
  660. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  661. from app/models/esc_entry.rb:156:in `create_entry_measures'
  662. from app/controllers/esc_controller.rb:112:in `create'
  663. Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "f47691ed-fa3f-45ef-b165-797724a69047"], ["LIMIT", 1]]
  664. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  665. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  666. from app/models/esc_entry.rb:156:in `create_entry_measures'
  667. from app/controllers/esc_controller.rb:112:in `create'
  668. EscMeasure Load (0.7ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "d7674498-63f3-43cc-84f4-a71f5aa50c1d"], ["LIMIT", 1]]
  669. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  670. from app/models/esc_entry.rb:156:in `create_entry_measures'
  671. from app/controllers/esc_controller.rb:112:in `create'
  672. (0.4ms) BEGIN
  673. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  674. from app/models/esc_entry.rb:156:in `create_entry_measures'
  675. from app/controllers/esc_controller.rb:112:in `create'
  676. SQL (0.8ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "d7674498-63f3-43cc-84f4-a71f5aa50c1d"], ["created_at", "2018-08-28 12:08:05.428971"], ["updated_at", "2018-08-28 12:08:05.428971"]]
  677. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  678. from app/models/esc_entry.rb:156:in `create_entry_measures'
  679. from app/controllers/esc_controller.rb:112:in `create'
  680. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "8754e59a-0ffd-4503-9666-975bf4494265"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.433309"], ["updated_at", "2018-08-28 12:08:05.433309"]]
  681. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  682. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  683. from app/models/esc_entry.rb:156:in `create_entry_measures'
  684. from app/controllers/esc_controller.rb:112:in `create'
  685. (19.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "8754e59a-0ffd-4503-9666-975bf4494265"]]
  686. Query Trace > app/models/revision.rb:147:in `add_data'
  687. from app/models/esc_entry_measure.rb:66:in `create_revision'
  688. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  689. from app/models/esc_entry.rb:156:in `create_entry_measures'
  690. from app/controllers/esc_controller.rb:112:in `create'
  691. SQL (0.7ms) 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:08:05.433309"], ["updated_at", "2018-08-28 12:08:05.459375"], ["id", "39eaa1c9-7190-43fd-ab46-3c376102c87c"]]
  692. Query Trace > app/models/revision.rb:148:in `add_data'
  693. from app/models/esc_entry_measure.rb:66:in `create_revision'
  694. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  695. from app/models/esc_entry.rb:156:in `create_entry_measures'
  696. from app/controllers/esc_controller.rb:112:in `create'
  697. (1.1ms) COMMIT
  698. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  699. from app/models/esc_entry.rb:156:in `create_entry_measures'
  700. from app/controllers/esc_controller.rb:112:in `create'
  701. Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "8754e59a-0ffd-4503-9666-975bf4494265"], ["LIMIT", 1]]
  702. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  703. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  704. from app/models/esc_entry.rb:156:in `create_entry_measures'
  705. from app/controllers/esc_controller.rb:112:in `create'
  706. EscMeasure Load (0.7ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "324ec583-06dd-48e3-b6df-8efbcea582bb"], ["LIMIT", 1]]
  707. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  708. from app/models/esc_entry.rb:156:in `create_entry_measures'
  709. from app/controllers/esc_controller.rb:112:in `create'
  710. (0.4ms) BEGIN
  711. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  712. from app/models/esc_entry.rb:156:in `create_entry_measures'
  713. from app/controllers/esc_controller.rb:112:in `create'
  714. SQL (0.8ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "324ec583-06dd-48e3-b6df-8efbcea582bb"], ["created_at", "2018-08-28 12:08:05.476934"], ["updated_at", "2018-08-28 12:08:05.476934"]]
  715. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  716. from app/models/esc_entry.rb:156:in `create_entry_measures'
  717. from app/controllers/esc_controller.rb:112:in `create'
  718. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "7ab97489-9505-4056-b50d-05499f1775be"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.483431"], ["updated_at", "2018-08-28 12:08:05.483431"]]
  719. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  720. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  721. from app/models/esc_entry.rb:156:in `create_entry_measures'
  722. from app/controllers/esc_controller.rb:112:in `create'
  723. (16.1ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "7ab97489-9505-4056-b50d-05499f1775be"]]
  724. Query Trace > app/models/revision.rb:147:in `add_data'
  725. from app/models/esc_entry_measure.rb:66:in `create_revision'
  726. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  727. from app/models/esc_entry.rb:156:in `create_entry_measures'
  728. from app/controllers/esc_controller.rb:112:in `create'
  729. SQL (0.6ms) 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:08:05.483431"], ["updated_at", "2018-08-28 12:08:05.506347"], ["id", "4d83a3e2-5c23-41d0-a1a0-4a7b6c466a1b"]]
  730. Query Trace > app/models/revision.rb:148:in `add_data'
  731. from app/models/esc_entry_measure.rb:66:in `create_revision'
  732. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  733. from app/models/esc_entry.rb:156:in `create_entry_measures'
  734. from app/controllers/esc_controller.rb:112:in `create'
  735. (1.1ms) COMMIT
  736. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  737. from app/models/esc_entry.rb:156:in `create_entry_measures'
  738. from app/controllers/esc_controller.rb:112:in `create'
  739. Comment Load (2.0ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "7ab97489-9505-4056-b50d-05499f1775be"], ["LIMIT", 1]]
  740. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  741. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  742. from app/models/esc_entry.rb:156:in `create_entry_measures'
  743. from app/controllers/esc_controller.rb:112:in `create'
  744. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c090-70f0-11e4-97bc-7cd1c3ebff35"], ["LIMIT", 1]]
  745. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  746. from app/models/esc_entry.rb:156:in `create_entry_measures'
  747. from app/controllers/esc_controller.rb:112:in `create'
  748. (0.3ms) BEGIN
  749. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  750. from app/models/esc_entry.rb:156:in `create_entry_measures'
  751. from app/controllers/esc_controller.rb:112:in `create'
  752. SQL (0.6ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c090-70f0-11e4-97bc-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.526714"], ["updated_at", "2018-08-28 12:08:05.526714"]]
  753. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  754. from app/models/esc_entry.rb:156:in `create_entry_measures'
  755. from app/controllers/esc_controller.rb:112:in `create'
  756. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "b9c5b6b7-fa5d-48bb-9128-20819e047041"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.530904"], ["updated_at", "2018-08-28 12:08:05.530904"]]
  757. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  758. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  759. from app/models/esc_entry.rb:156:in `create_entry_measures'
  760. from app/controllers/esc_controller.rb:112:in `create'
  761. (20.1ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "b9c5b6b7-fa5d-48bb-9128-20819e047041"]]
  762. Query Trace > app/models/revision.rb:147:in `add_data'
  763. from app/models/esc_entry_measure.rb:66:in `create_revision'
  764. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  765. from app/models/esc_entry.rb:156:in `create_entry_measures'
  766. from app/controllers/esc_controller.rb:112:in `create'
  767. SQL (0.6ms) 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:08:05.530904"], ["updated_at", "2018-08-28 12:08:05.559083"], ["id", "87809e82-4ac3-41d3-acd1-b56e78a75996"]]
  768. Query Trace > app/models/revision.rb:148:in `add_data'
  769. from app/models/esc_entry_measure.rb:66:in `create_revision'
  770. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  771. from app/models/esc_entry.rb:156:in `create_entry_measures'
  772. from app/controllers/esc_controller.rb:112:in `create'
  773. (1.1ms) COMMIT
  774. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  775. from app/models/esc_entry.rb:156:in `create_entry_measures'
  776. from app/controllers/esc_controller.rb:112:in `create'
  777. Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "b9c5b6b7-fa5d-48bb-9128-20819e047041"], ["LIMIT", 1]]
  778. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  779. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  780. from app/models/esc_entry.rb:156:in `create_entry_measures'
  781. from app/controllers/esc_controller.rb:112:in `create'
  782. 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", "5c38cc48-70f0-11e4-a20a-7cd1c3ebff35"], ["LIMIT", 1]]
  783. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  784. from app/models/esc_entry.rb:156:in `create_entry_measures'
  785. from app/controllers/esc_controller.rb:112:in `create'
  786. (0.4ms) BEGIN
  787. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  788. from app/models/esc_entry.rb:156:in `create_entry_measures'
  789. from app/controllers/esc_controller.rb:112:in `create'
  790. SQL (0.8ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38cc48-70f0-11e4-a20a-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.574841"], ["updated_at", "2018-08-28 12:08:05.574841"]]
  791. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  792. from app/models/esc_entry.rb:156:in `create_entry_measures'
  793. from app/controllers/esc_controller.rb:112:in `create'
  794. SQL (1.4ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "c9d4e7b6-9e45-4670-9989-48e38df954af"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.580946"], ["updated_at", "2018-08-28 12:08:05.580946"]]
  795. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  796. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  797. from app/models/esc_entry.rb:156:in `create_entry_measures'
  798. from app/controllers/esc_controller.rb:112:in `create'
  799. (16.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "c9d4e7b6-9e45-4670-9989-48e38df954af"]]
  800. Query Trace > app/models/revision.rb:147:in `add_data'
  801. from app/models/esc_entry_measure.rb:66:in `create_revision'
  802. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  803. from app/models/esc_entry.rb:156:in `create_entry_measures'
  804. from app/controllers/esc_controller.rb:112:in `create'
  805. SQL (0.6ms) 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:08:05.580946"], ["updated_at", "2018-08-28 12:08:05.607213"], ["id", "ee0ea3cd-91df-4b1c-9d5f-01d4a537f40b"]]
  806. Query Trace > app/models/revision.rb:148:in `add_data'
  807. from app/models/esc_entry_measure.rb:66:in `create_revision'
  808. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  809. from app/models/esc_entry.rb:156:in `create_entry_measures'
  810. from app/controllers/esc_controller.rb:112:in `create'
  811. (1.6ms) COMMIT
  812. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  813. from app/models/esc_entry.rb:156:in `create_entry_measures'
  814. from app/controllers/esc_controller.rb:112:in `create'
  815. Comment Load (2.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "c9d4e7b6-9e45-4670-9989-48e38df954af"], ["LIMIT", 1]]
  816. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  817. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  818. from app/models/esc_entry.rb:156:in `create_entry_measures'
  819. from app/controllers/esc_controller.rb:112:in `create'
  820. 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", "a78a9417-2831-475a-911b-e1f1d9d4ce18"], ["LIMIT", 1]]
  821. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  822. from app/models/esc_entry.rb:156:in `create_entry_measures'
  823. from app/controllers/esc_controller.rb:112:in `create'
  824. (0.2ms) BEGIN
  825. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  826. from app/models/esc_entry.rb:156:in `create_entry_measures'
  827. from app/controllers/esc_controller.rb:112:in `create'
  828. SQL (0.6ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "a78a9417-2831-475a-911b-e1f1d9d4ce18"], ["created_at", "2018-08-28 12:08:05.627191"], ["updated_at", "2018-08-28 12:08:05.627191"]]
  829. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  830. from app/models/esc_entry.rb:156:in `create_entry_measures'
  831. from app/controllers/esc_controller.rb:112:in `create'
  832. 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", "7c915237-079e-4a72-8a41-4d41e659b7d5"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.630894"], ["updated_at", "2018-08-28 12:08:05.630894"]]
  833. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  834. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  835. from app/models/esc_entry.rb:156:in `create_entry_measures'
  836. from app/controllers/esc_controller.rb:112:in `create'
  837. (18.8ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "7c915237-079e-4a72-8a41-4d41e659b7d5"]]
  838. Query Trace > app/models/revision.rb:147:in `add_data'
  839. from app/models/esc_entry_measure.rb:66:in `create_revision'
  840. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  841. from app/models/esc_entry.rb:156:in `create_entry_measures'
  842. from app/controllers/esc_controller.rb:112:in `create'
  843. 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:08:05.630894"], ["updated_at", "2018-08-28 12:08:05.656665"], ["id", "d924ad2c-7bf5-41d7-a0eb-4ee984a6acb9"]]
  844. Query Trace > app/models/revision.rb:148:in `add_data'
  845. from app/models/esc_entry_measure.rb:66:in `create_revision'
  846. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  847. from app/models/esc_entry.rb:156:in `create_entry_measures'
  848. from app/controllers/esc_controller.rb:112:in `create'
  849. (0.9ms) COMMIT
  850. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  851. from app/models/esc_entry.rb:156:in `create_entry_measures'
  852. from app/controllers/esc_controller.rb:112:in `create'
  853. Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "7c915237-079e-4a72-8a41-4d41e659b7d5"], ["LIMIT", 1]]
  854. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  855. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  856. from app/models/esc_entry.rb:156:in `create_entry_measures'
  857. from app/controllers/esc_controller.rb:112:in `create'
  858. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38cd2e-70f0-11e4-97c5-7cd1c3ebff35"], ["LIMIT", 1]]
  859. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  860. from app/models/esc_entry.rb:156:in `create_entry_measures'
  861. from app/controllers/esc_controller.rb:112:in `create'
  862. (0.3ms) BEGIN
  863. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  864. from app/models/esc_entry.rb:156:in `create_entry_measures'
  865. from app/controllers/esc_controller.rb:112:in `create'
  866. SQL (0.5ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38cd2e-70f0-11e4-97c5-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.671690"], ["updated_at", "2018-08-28 12:08:05.671690"]]
  867. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  868. from app/models/esc_entry.rb:156:in `create_entry_measures'
  869. from app/controllers/esc_controller.rb:112:in `create'
  870. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "2a2531e6-192b-4479-b859-5be46f944b21"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.675148"], ["updated_at", "2018-08-28 12:08:05.675148"]]
  871. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  872. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  873. from app/models/esc_entry.rb:156:in `create_entry_measures'
  874. from app/controllers/esc_controller.rb:112:in `create'
  875. (18.2ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "2a2531e6-192b-4479-b859-5be46f944b21"]]
  876. Query Trace > app/models/revision.rb:147:in `add_data'
  877. from app/models/esc_entry_measure.rb:66:in `create_revision'
  878. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  879. from app/models/esc_entry.rb:156:in `create_entry_measures'
  880. from app/controllers/esc_controller.rb:112:in `create'
  881. 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:08:05.675148"], ["updated_at", "2018-08-28 12:08:05.703067"], ["id", "9e9b4476-4528-4d51-aa48-a39962110620"]]
  882. Query Trace > app/models/revision.rb:148:in `add_data'
  883. from app/models/esc_entry_measure.rb:66:in `create_revision'
  884. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  885. from app/models/esc_entry.rb:156:in `create_entry_measures'
  886. from app/controllers/esc_controller.rb:112:in `create'
  887. (1.1ms) COMMIT
  888. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  889. from app/models/esc_entry.rb:156:in `create_entry_measures'
  890. from app/controllers/esc_controller.rb:112:in `create'
  891. Comment Load (1.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "2a2531e6-192b-4479-b859-5be46f944b21"], ["LIMIT", 1]]
  892. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  893. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  894. from app/models/esc_entry.rb:156:in `create_entry_measures'
  895. from app/controllers/esc_controller.rb:112:in `create'
  896. EscMeasure Load (0.7ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38ce1e-70f0-11e4-8e98-7cd1c3ebff35"], ["LIMIT", 1]]
  897. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  898. from app/models/esc_entry.rb:156:in `create_entry_measures'
  899. from app/controllers/esc_controller.rb:112:in `create'
  900. (0.3ms) BEGIN
  901. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  902. from app/models/esc_entry.rb:156:in `create_entry_measures'
  903. from app/controllers/esc_controller.rb:112:in `create'
  904. SQL (0.6ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38ce1e-70f0-11e4-8e98-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.721082"], ["updated_at", "2018-08-28 12:08:05.721082"]]
  905. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  906. from app/models/esc_entry.rb:156:in `create_entry_measures'
  907. from app/controllers/esc_controller.rb:112:in `create'
  908. SQL (0.9ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "d21319e2-842a-4587-83ac-4ce2035b37fc"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.724858"], ["updated_at", "2018-08-28 12:08:05.724858"]]
  909. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  910. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  911. from app/models/esc_entry.rb:156:in `create_entry_measures'
  912. from app/controllers/esc_controller.rb:112:in `create'
  913. (18.8ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "d21319e2-842a-4587-83ac-4ce2035b37fc"]]
  914. Query Trace > app/models/revision.rb:147:in `add_data'
  915. from app/models/esc_entry_measure.rb:66:in `create_revision'
  916. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  917. from app/models/esc_entry.rb:156:in `create_entry_measures'
  918. from app/controllers/esc_controller.rb:112:in `create'
  919. 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:08:05.724858"], ["updated_at", "2018-08-28 12:08:05.751697"], ["id", "bba9720a-0602-414c-9816-85a337030132"]]
  920. Query Trace > app/models/revision.rb:148:in `add_data'
  921. from app/models/esc_entry_measure.rb:66:in `create_revision'
  922. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  923. from app/models/esc_entry.rb:156:in `create_entry_measures'
  924. from app/controllers/esc_controller.rb:112:in `create'
  925. (1.0ms) COMMIT
  926. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  927. from app/models/esc_entry.rb:156:in `create_entry_measures'
  928. from app/controllers/esc_controller.rb:112:in `create'
  929. Comment Load (1.7ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "d21319e2-842a-4587-83ac-4ce2035b37fc"], ["LIMIT", 1]]
  930. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  931. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  932. from app/models/esc_entry.rb:156:in `create_entry_measures'
  933. from app/controllers/esc_controller.rb:112:in `create'
  934. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38cf02-70f0-11e4-9a66-7cd1c3ebff35"], ["LIMIT", 1]]
  935. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  936. from app/models/esc_entry.rb:156:in `create_entry_measures'
  937. from app/controllers/esc_controller.rb:112:in `create'
  938. (0.3ms) BEGIN
  939. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  940. from app/models/esc_entry.rb:156:in `create_entry_measures'
  941. from app/controllers/esc_controller.rb:112:in `create'
  942. SQL (2.0ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38cf02-70f0-11e4-9a66-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.768445"], ["updated_at", "2018-08-28 12:08:05.768445"]]
  943. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  944. from app/models/esc_entry.rb:156:in `create_entry_measures'
  945. from app/controllers/esc_controller.rb:112:in `create'
  946. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "3b7d6b26-5b9f-4efa-9904-64451e1f9437"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.773909"], ["updated_at", "2018-08-28 12:08:05.773909"]]
  947. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  948. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  949. from app/models/esc_entry.rb:156:in `create_entry_measures'
  950. from app/controllers/esc_controller.rb:112:in `create'
  951. (18.6ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "3b7d6b26-5b9f-4efa-9904-64451e1f9437"]]
  952. Query Trace > app/models/revision.rb:147:in `add_data'
  953. from app/models/esc_entry_measure.rb:66:in `create_revision'
  954. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  955. from app/models/esc_entry.rb:156:in `create_entry_measures'
  956. from app/controllers/esc_controller.rb:112:in `create'
  957. SQL (0.6ms) 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:08:05.773909"], ["updated_at", "2018-08-28 12:08:05.799811"], ["id", "b61d9f46-d86e-4e2c-ac30-ce99c4861eea"]]
  958. Query Trace > app/models/revision.rb:148:in `add_data'
  959. from app/models/esc_entry_measure.rb:66:in `create_revision'
  960. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  961. from app/models/esc_entry.rb:156:in `create_entry_measures'
  962. from app/controllers/esc_controller.rb:112:in `create'
  963. (1.7ms) COMMIT
  964. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  965. from app/models/esc_entry.rb:156:in `create_entry_measures'
  966. from app/controllers/esc_controller.rb:112:in `create'
  967. Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "3b7d6b26-5b9f-4efa-9904-64451e1f9437"], ["LIMIT", 1]]
  968. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  969. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  970. from app/models/esc_entry.rb:156:in `create_entry_measures'
  971. from app/controllers/esc_controller.rb:112:in `create'
  972. EscMeasure Load (1.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c180-70f0-11e4-951b-7cd1c3ebff35"], ["LIMIT", 1]]
  973. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  974. from app/models/esc_entry.rb:156:in `create_entry_measures'
  975. from app/controllers/esc_controller.rb:112:in `create'
  976. (0.5ms) BEGIN
  977. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  978. from app/models/esc_entry.rb:156:in `create_entry_measures'
  979. from app/controllers/esc_controller.rb:112:in `create'
  980. SQL (0.7ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c180-70f0-11e4-951b-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.821660"], ["updated_at", "2018-08-28 12:08:05.821660"]]
  981. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  982. from app/models/esc_entry.rb:156:in `create_entry_measures'
  983. from app/controllers/esc_controller.rb:112:in `create'
  984. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "0d8867f0-4638-47b7-8765-4bd2622c39e1"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.825557"], ["updated_at", "2018-08-28 12:08:05.825557"]]
  985. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  986. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  987. from app/models/esc_entry.rb:156:in `create_entry_measures'
  988. from app/controllers/esc_controller.rb:112:in `create'
  989. (19.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "0d8867f0-4638-47b7-8765-4bd2622c39e1"]]
  990. Query Trace > app/models/revision.rb:147:in `add_data'
  991. from app/models/esc_entry_measure.rb:66:in `create_revision'
  992. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  993. from app/models/esc_entry.rb:156:in `create_entry_measures'
  994. from app/controllers/esc_controller.rb:112:in `create'
  995. SQL (0.6ms) 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:08:05.825557"], ["updated_at", "2018-08-28 12:08:05.853145"], ["id", "dc8268ac-359c-41ea-9c48-2d1194bae80f"]]
  996. Query Trace > app/models/revision.rb:148:in `add_data'
  997. from app/models/esc_entry_measure.rb:66:in `create_revision'
  998. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  999. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1000. from app/controllers/esc_controller.rb:112:in `create'
  1001. (1.2ms) COMMIT
  1002. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1003. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1004. from app/controllers/esc_controller.rb:112:in `create'
  1005. Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "0d8867f0-4638-47b7-8765-4bd2622c39e1"], ["LIMIT", 1]]
  1006. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1007. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1008. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1009. from app/controllers/esc_controller.rb:112:in `create'
  1010. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "6af56b5f-1e8e-4b18-b8b6-0b29622568d7"], ["LIMIT", 1]]
  1011. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  1012. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1013. from app/controllers/esc_controller.rb:112:in `create'
  1014. (0.3ms) BEGIN
  1015. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1016. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1017. from app/controllers/esc_controller.rb:112:in `create'
  1018. SQL (0.8ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "6af56b5f-1e8e-4b18-b8b6-0b29622568d7"], ["created_at", "2018-08-28 12:08:05.870492"], ["updated_at", "2018-08-28 12:08:05.870492"]]
  1019. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1020. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1021. from app/controllers/esc_controller.rb:112:in `create'
  1022. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "04effaa4-e31d-4e25-a05d-d57a31016ce8"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.874496"], ["updated_at", "2018-08-28 12:08:05.874496"]]
  1023. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  1024. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1025. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1026. from app/controllers/esc_controller.rb:112:in `create'
  1027. (18.2ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "04effaa4-e31d-4e25-a05d-d57a31016ce8"]]
  1028. Query Trace > app/models/revision.rb:147:in `add_data'
  1029. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1030. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1031. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1032. from app/controllers/esc_controller.rb:112:in `create'
  1033. 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:08:05.874496"], ["updated_at", "2018-08-28 12:08:05.900125"], ["id", "3cb6b110-6c19-4c97-a3fa-546944a00f5c"]]
  1034. Query Trace > app/models/revision.rb:148:in `add_data'
  1035. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1036. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1037. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1038. from app/controllers/esc_controller.rb:112:in `create'
  1039. (1.1ms) COMMIT
  1040. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1041. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1042. from app/controllers/esc_controller.rb:112:in `create'
  1043. Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "04effaa4-e31d-4e25-a05d-d57a31016ce8"], ["LIMIT", 1]]
  1044. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1045. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1046. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1047. from app/controllers/esc_controller.rb:112:in `create'
  1048. EscMeasure Load (1.0ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d0da-70f0-11e4-ac44-7cd1c3ebff35"], ["LIMIT", 1]]
  1049. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  1050. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1051. from app/controllers/esc_controller.rb:112:in `create'
  1052. (0.5ms) BEGIN
  1053. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1054. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1055. from app/controllers/esc_controller.rb:112:in `create'
  1056. SQL (2.0ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38d0da-70f0-11e4-ac44-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.918181"], ["updated_at", "2018-08-28 12:08:05.918181"]]
  1057. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1058. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1059. from app/controllers/esc_controller.rb:112:in `create'
  1060. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "c9ff046f-21a1-4771-9075-7c04fe9bacb9"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.924499"], ["updated_at", "2018-08-28 12:08:05.924499"]]
  1061. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  1062. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1063. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1064. from app/controllers/esc_controller.rb:112:in `create'
  1065. (18.2ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "c9ff046f-21a1-4771-9075-7c04fe9bacb9"]]
  1066. Query Trace > app/models/revision.rb:147:in `add_data'
  1067. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1068. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1069. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1070. from app/controllers/esc_controller.rb:112:in `create'
  1071. SQL (0.6ms) 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:08:05.924499"], ["updated_at", "2018-08-28 12:08:05.949459"], ["id", "c1dacd5f-9566-4e8d-8f01-3426a455dc60"]]
  1072. Query Trace > app/models/revision.rb:148:in `add_data'
  1073. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1074. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1075. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1076. from app/controllers/esc_controller.rb:112:in `create'
  1077. (1.0ms) COMMIT
  1078. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1079. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1080. from app/controllers/esc_controller.rb:112:in `create'
  1081. Comment Load (2.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "c9ff046f-21a1-4771-9075-7c04fe9bacb9"], ["LIMIT", 1]]
  1082. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1083. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1084. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1085. from app/controllers/esc_controller.rb:112:in `create'
  1086. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d1c0-70f0-11e4-8d89-7cd1c3ebff35"], ["LIMIT", 1]]
  1087. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  1088. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1089. from app/controllers/esc_controller.rb:112:in `create'
  1090. (0.3ms) BEGIN
  1091. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1092. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1093. from app/controllers/esc_controller.rb:112:in `create'
  1094. SQL (0.5ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38d1c0-70f0-11e4-8d89-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:05.967128"], ["updated_at", "2018-08-28 12:08:05.967128"]]
  1095. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1096. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1097. from app/controllers/esc_controller.rb:112:in `create'
  1098. SQL (0.8ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "f9be05d6-2190-46b8-87e1-951d66d3a5f3"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:05.970857"], ["updated_at", "2018-08-28 12:08:05.970857"]]
  1099. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  1100. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1101. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1102. from app/controllers/esc_controller.rb:112:in `create'
  1103. (18.2ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "f9be05d6-2190-46b8-87e1-951d66d3a5f3"]]
  1104. Query Trace > app/models/revision.rb:147:in `add_data'
  1105. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1106. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1107. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1108. from app/controllers/esc_controller.rb:112:in `create'
  1109. 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:08:05.970857"], ["updated_at", "2018-08-28 12:08:05.996418"], ["id", "ac3efa26-7f87-4dc6-91f9-a6c7522973e8"]]
  1110. Query Trace > app/models/revision.rb:148:in `add_data'
  1111. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1112. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1113. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1114. from app/controllers/esc_controller.rb:112:in `create'
  1115. (1.5ms) COMMIT
  1116. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1117. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1118. from app/controllers/esc_controller.rb:112:in `create'
  1119. Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "f9be05d6-2190-46b8-87e1-951d66d3a5f3"], ["LIMIT", 1]]
  1120. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1121. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1122. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1123. from app/controllers/esc_controller.rb:112:in `create'
  1124. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38c8b0-70f0-11e4-9367-7cd1c3ebff35"], ["LIMIT", 1]]
  1125. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  1126. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1127. from app/controllers/esc_controller.rb:112:in `create'
  1128. (0.3ms) BEGIN
  1129. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1130. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1131. from app/controllers/esc_controller.rb:112:in `create'
  1132. SQL (0.9ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38c8b0-70f0-11e4-9367-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:06.013923"], ["updated_at", "2018-08-28 12:08:06.013923"]]
  1133. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1134. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1135. from app/controllers/esc_controller.rb:112:in `create'
  1136. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "aa51a70c-7b54-4bc0-97d6-a59424b95588"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:06.020862"], ["updated_at", "2018-08-28 12:08:06.020862"]]
  1137. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  1138. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1139. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1140. from app/controllers/esc_controller.rb:112:in `create'
  1141. (16.8ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "aa51a70c-7b54-4bc0-97d6-a59424b95588"]]
  1142. Query Trace > app/models/revision.rb:147:in `add_data'
  1143. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1144. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1145. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1146. from app/controllers/esc_controller.rb:112:in `create'
  1147. SQL (0.7ms) 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:08:06.020862"], ["updated_at", "2018-08-28 12:08:06.044635"], ["id", "4dfa2b59-7aba-4e46-8656-70bd2efb07fb"]]
  1148. Query Trace > app/models/revision.rb:148:in `add_data'
  1149. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1150. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1151. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1152. from app/controllers/esc_controller.rb:112:in `create'
  1153. (1.4ms) COMMIT
  1154. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1155. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1156. from app/controllers/esc_controller.rb:112:in `create'
  1157. Comment Load (1.8ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "aa51a70c-7b54-4bc0-97d6-a59424b95588"], ["LIMIT", 1]]
  1158. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1159. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1160. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1161. from app/controllers/esc_controller.rb:112:in `create'
  1162. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38cff4-70f0-11e4-a8d5-7cd1c3ebff35"], ["LIMIT", 1]]
  1163. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  1164. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1165. from app/controllers/esc_controller.rb:112:in `create'
  1166. (0.5ms) BEGIN
  1167. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1168. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1169. from app/controllers/esc_controller.rb:112:in `create'
  1170. SQL (0.7ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38cff4-70f0-11e4-a8d5-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:06.065499"], ["updated_at", "2018-08-28 12:08:06.065499"]]
  1171. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1172. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1173. from app/controllers/esc_controller.rb:112:in `create'
  1174. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "b4d72db9-ff92-4075-8684-96e7192ec319"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:06.069647"], ["updated_at", "2018-08-28 12:08:06.069647"]]
  1175. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  1176. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1177. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1178. from app/controllers/esc_controller.rb:112:in `create'
  1179. (18.7ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "b4d72db9-ff92-4075-8684-96e7192ec319"]]
  1180. Query Trace > app/models/revision.rb:147:in `add_data'
  1181. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1182. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1183. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1184. from app/controllers/esc_controller.rb:112:in `create'
  1185. SQL (0.9ms) 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:08:06.069647"], ["updated_at", "2018-08-28 12:08:06.095299"], ["id", "dca67f96-5d8a-4522-ab5a-960a035399f3"]]
  1186. Query Trace > app/models/revision.rb:148:in `add_data'
  1187. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1188. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1189. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1190. from app/controllers/esc_controller.rb:112:in `create'
  1191. (1.0ms) COMMIT
  1192. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1193. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1194. from app/controllers/esc_controller.rb:112:in `create'
  1195. Comment Load (2.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "b4d72db9-ff92-4075-8684-96e7192ec319"], ["LIMIT", 1]]
  1196. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1197. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1198. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1199. from app/controllers/esc_controller.rb:112:in `create'
  1200. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d2a6-70f0-11e4-974b-7cd1c3ebff35"], ["LIMIT", 1]]
  1201. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  1202. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1203. from app/controllers/esc_controller.rb:112:in `create'
  1204. (0.3ms) BEGIN
  1205. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1206. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1207. from app/controllers/esc_controller.rb:112:in `create'
  1208. SQL (0.7ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38d2a6-70f0-11e4-974b-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:06.112366"], ["updated_at", "2018-08-28 12:08:06.112366"]]
  1209. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1210. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1211. from app/controllers/esc_controller.rb:112:in `create'
  1212. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "738885e9-5ca2-48b9-9cb9-2558b9dadbb1"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:06.116620"], ["updated_at", "2018-08-28 12:08:06.116620"]]
  1213. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  1214. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1215. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1216. from app/controllers/esc_controller.rb:112:in `create'
  1217. (17.4ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "738885e9-5ca2-48b9-9cb9-2558b9dadbb1"]]
  1218. Query Trace > app/models/revision.rb:147:in `add_data'
  1219. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1220. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1221. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1222. from app/controllers/esc_controller.rb:112:in `create'
  1223. SQL (0.6ms) 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:08:06.116620"], ["updated_at", "2018-08-28 12:08:06.142906"], ["id", "f1ec3269-93b0-42fa-9637-93d5d2a3b11f"]]
  1224. Query Trace > app/models/revision.rb:148:in `add_data'
  1225. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1226. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1227. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1228. from app/controllers/esc_controller.rb:112:in `create'
  1229. (1.2ms) COMMIT
  1230. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1231. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1232. from app/controllers/esc_controller.rb:112:in `create'
  1233. Comment Load (2.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "738885e9-5ca2-48b9-9cb9-2558b9dadbb1"], ["LIMIT", 1]]
  1234. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1235. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1236. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1237. from app/controllers/esc_controller.rb:112:in `create'
  1238. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "5c38d398-70f0-11e4-ac85-7cd1c3ebff35"], ["LIMIT", 1]]
  1239. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  1240. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1241. from app/controllers/esc_controller.rb:112:in `create'
  1242. (0.3ms) BEGIN
  1243. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1244. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1245. from app/controllers/esc_controller.rb:112:in `create'
  1246. SQL (0.6ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "5c38d398-70f0-11e4-ac85-7cd1c3ebff35"], ["created_at", "2018-08-28 12:08:06.163294"], ["updated_at", "2018-08-28 12:08:06.163294"]]
  1247. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1248. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1249. from app/controllers/esc_controller.rb:112:in `create'
  1250. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "0d98631f-bc40-4276-81cf-80e57db177fd"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:06.168211"], ["updated_at", "2018-08-28 12:08:06.168211"]]
  1251. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  1252. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1253. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1254. from app/controllers/esc_controller.rb:112:in `create'
  1255. (17.4ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "0d98631f-bc40-4276-81cf-80e57db177fd"]]
  1256. Query Trace > app/models/revision.rb:147:in `add_data'
  1257. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1258. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1259. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1260. from app/controllers/esc_controller.rb:112:in `create'
  1261. SQL (0.9ms) 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:08:06.168211"], ["updated_at", "2018-08-28 12:08:06.193997"], ["id", "45ede424-6574-4679-92a6-41d97a40fbc5"]]
  1262. Query Trace > app/models/revision.rb:148:in `add_data'
  1263. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1264. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1265. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1266. from app/controllers/esc_controller.rb:112:in `create'
  1267. (1.0ms) COMMIT
  1268. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1269. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1270. from app/controllers/esc_controller.rb:112:in `create'
  1271. Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "0d98631f-bc40-4276-81cf-80e57db177fd"], ["LIMIT", 1]]
  1272. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1273. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1274. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1275. from app/controllers/esc_controller.rb:112:in `create'
  1276. 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", "8c3ac612-b340-4cb9-ac5b-254a7bc1c321"], ["LIMIT", 1]]
  1277. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  1278. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1279. from app/controllers/esc_controller.rb:112:in `create'
  1280. (0.3ms) BEGIN
  1281. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1282. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1283. from app/controllers/esc_controller.rb:112:in `create'
  1284. SQL (0.5ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "8c3ac612-b340-4cb9-ac5b-254a7bc1c321"], ["created_at", "2018-08-28 12:08:06.209564"], ["updated_at", "2018-08-28 12:08:06.209564"]]
  1285. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1286. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1287. from app/controllers/esc_controller.rb:112:in `create'
  1288. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "068e57f8-021e-410e-9076-57573454ab52"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:06.215556"], ["updated_at", "2018-08-28 12:08:06.215556"]]
  1289. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  1290. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1291. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1292. from app/controllers/esc_controller.rb:112:in `create'
  1293. (17.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "068e57f8-021e-410e-9076-57573454ab52"]]
  1294. Query Trace > app/models/revision.rb:147:in `add_data'
  1295. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1296. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1297. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1298. from app/controllers/esc_controller.rb:112:in `create'
  1299. SQL (0.6ms) 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:08:06.215556"], ["updated_at", "2018-08-28 12:08:06.242904"], ["id", "94e920d5-bf7a-4be2-a6af-e09b77a2a47b"]]
  1300. Query Trace > app/models/revision.rb:148:in `add_data'
  1301. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1302. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1303. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1304. from app/controllers/esc_controller.rb:112:in `create'
  1305. (1.4ms) COMMIT
  1306. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1307. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1308. from app/controllers/esc_controller.rb:112:in `create'
  1309. Comment Load (1.7ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "068e57f8-021e-410e-9076-57573454ab52"], ["LIMIT", 1]]
  1310. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1311. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1312. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1313. from app/controllers/esc_controller.rb:112:in `create'
  1314. EscMeasure Load (0.6ms) SELECT "esc_measures".* FROM "esc_measures" WHERE "esc_measures"."deleted_at" IS NULL AND "esc_measures"."id" = $1 LIMIT $2 [["id", "32e56eae-4d8b-449e-848b-5423cbf38477"], ["LIMIT", 1]]
  1315. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  1316. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1317. from app/controllers/esc_controller.rb:112:in `create'
  1318. (0.2ms) BEGIN
  1319. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1320. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1321. from app/controllers/esc_controller.rb:112:in `create'
  1322. SQL (1.9ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "32e56eae-4d8b-449e-848b-5423cbf38477"], ["created_at", "2018-08-28 12:08:06.263008"], ["updated_at", "2018-08-28 12:08:06.263008"]]
  1323. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1324. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1325. from app/controllers/esc_controller.rb:112:in `create'
  1326. SQL (0.6ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "3bcee6c5-0748-4936-9026-3ce20353c9f2"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:06.268808"], ["updated_at", "2018-08-28 12:08:06.268808"]]
  1327. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  1328. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1329. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1330. from app/controllers/esc_controller.rb:112:in `create'
  1331. (17.1ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "3bcee6c5-0748-4936-9026-3ce20353c9f2"]]
  1332. Query Trace > app/models/revision.rb:147:in `add_data'
  1333. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1334. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1335. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1336. from app/controllers/esc_controller.rb:112:in `create'
  1337. SQL (1.8ms) 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:08:06.268808"], ["updated_at", "2018-08-28 12:08:06.292525"], ["id", "7a51aa8b-d70a-4410-84ba-eaf999ace03a"]]
  1338. Query Trace > app/models/revision.rb:148:in `add_data'
  1339. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1340. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1341. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1342. from app/controllers/esc_controller.rb:112:in `create'
  1343. (1.9ms) COMMIT
  1344. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1345. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1346. from app/controllers/esc_controller.rb:112:in `create'
  1347. Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "3bcee6c5-0748-4936-9026-3ce20353c9f2"], ["LIMIT", 1]]
  1348. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1349. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1350. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1351. from app/controllers/esc_controller.rb:112:in `create'
  1352. 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", "33c0ab3f-0d22-4df8-8d84-69d81c326982"], ["LIMIT", 1]]
  1353. Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
  1354. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1355. from app/controllers/esc_controller.rb:112:in `create'
  1356. (0.3ms) BEGIN
  1357. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1358. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1359. from app/controllers/esc_controller.rb:112:in `create'
  1360. SQL (1.2ms) INSERT INTO "esc_entry_measures" ("esc_entry_id", "esc_measure_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["esc_entry_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["esc_measure_id", "33c0ab3f-0d22-4df8-8d84-69d81c326982"], ["created_at", "2018-08-28 12:08:06.311795"], ["updated_at", "2018-08-28 12:08:06.311795"]]
  1361. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1362. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1363. from app/controllers/esc_controller.rb:112:in `create'
  1364. SQL (0.7ms) INSERT INTO "revisions" ("entity_id", "entity_name", "archived", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["entity_id", "5abbceac-b192-4779-b2b9-033a583e55af"], ["entity_name", "EscEntryMeasure"], ["archived", "f"], ["created_at", "2018-08-28 12:08:06.317528"], ["updated_at", "2018-08-28 12:08:06.317528"]]
  1365. Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
  1366. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1367. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1368. from app/controllers/esc_controller.rb:112:in `create'
  1369. (16.9ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "5abbceac-b192-4779-b2b9-033a583e55af"]]
  1370. Query Trace > app/models/revision.rb:147:in `add_data'
  1371. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1372. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1373. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1374. from app/controllers/esc_controller.rb:112:in `create'
  1375. SQL (1.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:08:06.317528"], ["updated_at", "2018-08-28 12:08:06.345349"], ["id", "c3ae9b35-2871-4c71-8f39-4b574a344339"]]
  1376. Query Trace > app/models/revision.rb:148:in `add_data'
  1377. from app/models/esc_entry_measure.rb:66:in `create_revision'
  1378. from app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1379. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1380. from app/controllers/esc_controller.rb:112:in `create'
  1381. (1.4ms) COMMIT
  1382. Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
  1383. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1384. from app/controllers/esc_controller.rb:112:in `create'
  1385. Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "5abbceac-b192-4779-b2b9-033a583e55af"], ["LIMIT", 1]]
  1386. Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
  1387. from app/models/esc_entry.rb:161:in `block in create_entry_measures'
  1388. from app/models/esc_entry.rb:156:in `create_entry_measures'
  1389. from app/controllers/esc_controller.rb:112:in `create'
  1390. Tag Load (0.9ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  1391. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  1392. from app/services/tag_creator.rb:30:in `entry_tag?'
  1393. from app/services/tag_creator.rb:10:in `create_or_update_tag'
  1394. from app/controllers/esc_controller.rb:113:in `create'
  1395. CACHE Tag Load (0.0ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  1396. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  1397. from app/services/tag_creator.rb:30:in `entry_tag?'
  1398. from app/services/tag_creator.rb:11:in `create_or_update_tag'
  1399. from app/controllers/esc_controller.rb:113:in `create'
  1400. ProjectCalculations Load (0.9ms) SELECT "project_calculations".* FROM "project_calculations" WHERE "project_calculations"."project_id" = $1 LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1401. Query Trace > app/models/project.rb:113:in `update_calculations'
  1402. from app/controllers/esc_controller.rb:124:in `create'
  1403. WasteEntry Load (0.8ms) 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"]]
  1404. Query Trace > app/models/project_calculations.rb:25:in `recalculate'
  1405. from app/models/project.rb:114:in `update_calculations'
  1406. from app/controllers/esc_controller.rb:124:in `create'
  1407. SustainableMaterialEntry Load (2.0ms) 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"]]
  1408. Query Trace > app/models/project_calculations.rb:75:in `recalculate'
  1409. from app/models/project.rb:114:in `update_calculations'
  1410. from app/controllers/esc_controller.rb:124:in `create'
  1411. SustainableMaterialEntryType Load (2.6ms) 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"]]
  1412. Query Trace > app/models/sustainable_material_entry.rb:441:in `metric_data'
  1413. from app/models/project_calculations.rb:133:in `block in recalculate'
  1414. from app/models/project_calculations.rb:132:in `recalculate'
  1415. from app/models/project.rb:114:in `update_calculations'
  1416. from app/controllers/esc_controller.rb:124:in `create'
  1417. SustainableMaterialType Load (0.6ms) 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]]
  1418. Query Trace > app/models/sustainable_material_entry_type.rb:43:in `json_data'
  1419. from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
  1420. from app/models/sustainable_material_entry.rb:442:in `collect'
  1421. from app/models/sustainable_material_entry.rb:442:in `metric_data'
  1422. from app/models/project_calculations.rb:133:in `block in recalculate'
  1423. CustomField Load (0.7ms) 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"]]
  1424. Query Trace > app/models/sustainable_material_type.rb:43:in `collect'
  1425. from app/models/sustainable_material_type.rb:43:in `json_data_custom'
  1426. from app/models/sustainable_material_entry_type.rb:45:in `json_data'
  1427. from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
  1428. from app/models/sustainable_material_entry.rb:442:in `collect'
  1429. CustomFieldValue Load (3.3ms) 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"]]
  1430. Query Trace > app/models/sustainable_material_type.rb:44:in `json_data_custom'
  1431. from app/models/sustainable_material_entry_type.rb:45:in `json_data'
  1432. from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
  1433. from app/models/sustainable_material_entry.rb:442:in `collect'
  1434. from app/models/sustainable_material_entry.rb:442:in `metric_data'
  1435. Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 AND "comments"."entity_type" = $2 [["entity_id", "e4570667-6cb6-4bdb-b0f4-0113b8fa4348"], ["entity_type", "SustainableMaterialEntryType"]]
  1436. Query Trace > app/models/sustainable_material_entry_type.rb:50:in `json_data'
  1437. from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
  1438. from app/models/sustainable_material_entry.rb:442:in `collect'
  1439. from app/models/sustainable_material_entry.rb:442:in `metric_data'
  1440. from app/models/project_calculations.rb:133:in `block in recalculate'
  1441. (1.5ms) SELECT COUNT(*) FROM "images" WHERE "images"."entity_id" = $1 AND "images"."entity_type" = $2 [["entity_id", "e4570667-6cb6-4bdb-b0f4-0113b8fa4348"], ["entity_type", "SustainableMaterialEntryType"]]
  1442. Query Trace > app/models/sustainable_material_entry_type.rb:57:in `json_data'
  1443. from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
  1444. from app/models/sustainable_material_entry.rb:442:in `collect'
  1445. from app/models/sustainable_material_entry.rb:442:in `metric_data'
  1446. from app/models/project_calculations.rb:133:in `block in recalculate'
  1447. (0.7ms) SELECT COUNT(*) FROM "attachments" WHERE "attachments"."entity_id" = $1 AND "attachments"."entity_type" = $2 [["entity_id", "e4570667-6cb6-4bdb-b0f4-0113b8fa4348"], ["entity_type", "SustainableMaterialEntryType"]]
  1448. Query Trace > app/models/sustainable_material_entry_type.rb:58:in `json_data'
  1449. from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
  1450. from app/models/sustainable_material_entry.rb:442:in `collect'
  1451. from app/models/sustainable_material_entry.rb:442:in `metric_data'
  1452. from app/models/project_calculations.rb:133:in `block in recalculate'
  1453. (0.9ms) 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"]]
  1454. Query Trace > app/models/project_calculations.rb:491:in `recalculate'
  1455. from app/models/project.rb:114:in `update_calculations'
  1456. from app/controllers/esc_controller.rb:124:in `create'
  1457. (1.1ms) 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"]]
  1458. Query Trace > app/models/project_calculations.rb:491:in `recalculate'
  1459. from app/models/project.rb:114:in `update_calculations'
  1460. from app/controllers/esc_controller.rb:124:in `create'
  1461. (1.1ms) 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"]]
  1462. Query Trace > app/models/project_calculations.rb:496:in `recalculate'
  1463. from app/models/project.rb:114:in `update_calculations'
  1464. from app/controllers/esc_controller.rb:124:in `create'
  1465. VocEntry Exists (0.8ms) 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]]
  1466. Query Trace > app/models/project_calculations.rb:498:in `recalculate'
  1467. from app/models/project.rb:114:in `update_calculations'
  1468. from app/controllers/esc_controller.rb:124:in `create'
  1469. (0.6ms) 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"]]
  1470. Query Trace > app/models/project_calculations.rb:508:in `recalculate'
  1471. from app/models/project.rb:114:in `update_calculations'
  1472. from app/controllers/esc_controller.rb:124:in `create'
  1473. (0.6ms) 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"]]
  1474. Query Trace > app/models/project_calculations.rb:513:in `recalculate'
  1475. from app/models/project.rb:114:in `update_calculations'
  1476. from app/controllers/esc_controller.rb:124:in `create'
  1477. (0.3ms) BEGIN
  1478. Query Trace > app/models/project_calculations.rb:515:in `recalculate'
  1479. from app/models/project.rb:114:in `update_calculations'
  1480. from app/controllers/esc_controller.rb:124:in `create'
  1481. SQL (0.7ms) UPDATE "project_calculations" SET "erosion_control" = $1, "updated_at" = $2 WHERE "project_calculations"."id" = $3 [["erosion_control", 15], ["updated_at", "2018-08-28 12:08:06.452639"], ["id", 4]]
  1482. Query Trace > app/models/project_calculations.rb:515:in `recalculate'
  1483. from app/models/project.rb:114:in `update_calculations'
  1484. from app/controllers/esc_controller.rb:124:in `create'
  1485. SQL (0.6ms) UPDATE "projects" SET "updated_at" = '2018-08-28 12:08:06.457069' WHERE "projects"."id" = $1 [["id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  1486. Query Trace > app/models/project_calculations.rb:515:in `recalculate'
  1487. from app/models/project.rb:114:in `update_calculations'
  1488. from app/controllers/esc_controller.rb:124:in `create'
  1489. (3.7ms) COMMIT
  1490. Query Trace > app/models/project_calculations.rb:515:in `recalculate'
  1491. from app/models/project.rb:114:in `update_calculations'
  1492. from app/controllers/esc_controller.rb:124:in `create'
  1493. Redirected to http://localhost:3000/esc/0b526b90-544a-470b-8325-c59655c2fdb9#1a2bcc75-974f-4557-af6b-f265600bb554
  1494. Completed 302 Found in 2046ms (ActiveRecord: 856.9ms)
  1495.  
  1496.  
  1497. Started GET "/esc/0b526b90-544a-470b-8325-c59655c2fdb9" for 192.168.176.1 at 2018-08-28 12:08:06 +0000
  1498. Processing by EscController#index as HTML
  1499. Parameters: {"project_id"=>"0b526b90-544a-470b-8325-c59655c2fdb9"}
  1500. 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]]
  1501. Project Load (0.7ms) 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]]
  1502. Query Trace > app/controllers/application_controller.rb:721:in `project_belongs_to_account?'
  1503. Project Exists (1.0ms) SELECT 1 AS one FROM "projects" INNER JOIN "project_accounts" ON "projects"."id" = "project_accounts"."project_id" WHERE "projects"."deleted_at" IS NULL AND "project_accounts"."deleted_at" IS NULL AND "project_accounts"."account_id" = $1 AND "projects"."id" = $2 GROUP BY projects.id LIMIT $3 [["account_id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1504. Query Trace > app/controllers/application_controller.rb:723:in `project_belongs_to_account?'
  1505. 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]]
  1506. Query Trace > app/controllers/application_controller.rb:957:in `project_is_active?'
  1507. ProjectSubscription Load (0.9ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1508. Query Trace > app/models/project.rb:240:in `is_active'
  1509. from app/controllers/application_controller.rb:958:in `project_is_active?'
  1510. 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]]
  1511. Query Trace > app/controllers/esc_controller.rb:220:in `set_project'
  1512. Tag Load (1.0ms) SELECT DISTINCT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."project_id" = $1 AND (polymorphic_tags.taggable_type IN ('EscEntry','EscReport')) [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  1513. Query Trace > app/models/tag.rb:18:in `sort_by'
  1514. from app/models/tag.rb:18:in `block in <class:Tag>'
  1515. from app/models/tag.rb:17:in `block in <class:Tag>'
  1516. from app/controllers/esc_controller.rb:224:in `set_tags'
  1517. 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]]
  1518. Query Trace > app/controllers/application_controller.rb:1047:in `allowable_credit?'
  1519. from app/controllers/esc_controller.rb:11:in `block in <class:EscController>'
  1520. ProjectAccount Load (0.9ms) 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]]
  1521. Query Trace > app/controllers/application_controller.rb:1048:in `allowable_credit?'
  1522. from app/controllers/esc_controller.rb:11:in `block in <class:EscController>'
  1523. EscEntry Load (0.8ms) SELECT "esc_entries".* FROM "esc_entries" WHERE "esc_entries"."deleted_at" IS NULL AND "esc_entries"."project_id" = $1 ORDER BY created_at DESC [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  1524. Query Trace > app/controllers/esc_controller.rb:22:in `index'
  1525. EscReport Load (0.6ms) SELECT "esc_reports".* FROM "esc_reports" WHERE "esc_reports"."deleted_at" IS NULL AND "esc_reports"."project_id" = $1 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"]]
  1526. Query Trace > app/controllers/esc_controller.rb:22:in `index'
  1527. Couldn't find template for digesting: info_partial_names/info_partial_name
  1528. Rendering esc/index.html.erb within layouts/application
  1529. 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]]
  1530. Query Trace > app/views/shared/_modal_for_info.html.erb:2:in `_app_views_shared__modal_for_info_html_erb__1772910250955066114_119795500'
  1531. from app/views/esc/index.html.erb:1:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1532. Rendered esc/_info.html.erb (1.1ms)
  1533. Rendered shared/_modal_for_info.html.erb (8.2ms)
  1534. Rendered layouts/_breadcrumb.erb (0.7ms)
  1535. Revision Load (14.8ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  1536. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  1537. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1538. from app/views/esc/_esc_table.html.erb:2:in `each'
  1539. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1540. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1541. CACHE Account Load (0.0ms) 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]]
  1542. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  1543. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1544. from app/views/esc/_esc_table.html.erb:2:in `each'
  1545. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1546. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1547. User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  1548. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  1549. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1550. from app/views/esc/_esc_table.html.erb:2:in `each'
  1551. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1552. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1553. Tag Load (0.8ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "1a2bcc75-974f-4557-af6b-f265600bb554"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  1554. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  1555. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1556. from app/views/esc/_esc_table.html.erb:2:in `each'
  1557. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1558. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1559. ProjectAccount Load (0.8ms) 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]]
  1560. Query Trace > app/models/account.rb:288:in `get_role'
  1561. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1562. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1563. from app/views/esc/_esc_table.html.erb:2:in `each'
  1564. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1565. ProjectRole Load (0.8ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1566. Query Trace > app/models/account.rb:290:in `get_role'
  1567. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1568. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1569. from app/views/esc/_esc_table.html.erb:2:in `each'
  1570. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1571. CACHE Project Load (0.1ms) 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]]
  1572. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1573. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1574. from app/views/esc/_esc_table.html.erb:2:in `each'
  1575. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1576. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1577. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1578. Query Trace > app/models/project.rb:248:in `is_unactive'
  1579. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1580. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1581. from app/views/esc/_esc_table.html.erb:2:in `each'
  1582. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1583. CACHE ProjectAccount Load (0.0ms) 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]]
  1584. Query Trace > app/models/account.rb:288:in `get_role'
  1585. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1586. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1587. from app/views/esc/_esc_table.html.erb:2:in `each'
  1588. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1589. CACHE ProjectRole Load (0.1ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1590. Query Trace > app/models/account.rb:290:in `get_role'
  1591. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1592. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1593. from app/views/esc/_esc_table.html.erb:2:in `each'
  1594. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1595. 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]]
  1596. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1597. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1598. from app/views/esc/_esc_table.html.erb:2:in `each'
  1599. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1600. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1601. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1602. Query Trace > app/models/project.rb:248:in `is_unactive'
  1603. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1604. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1605. from app/views/esc/_esc_table.html.erb:2:in `each'
  1606. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1607. Revision Load (16.1ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "e198578e-12e9-45e8-9fcc-e5243c70cfd5"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  1608. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  1609. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1610. from app/views/esc/_esc_table.html.erb:2:in `each'
  1611. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1612. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1613. CACHE Account Load (0.0ms) 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]]
  1614. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  1615. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1616. from app/views/esc/_esc_table.html.erb:2:in `each'
  1617. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1618. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1619. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  1620. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  1621. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1622. from app/views/esc/_esc_table.html.erb:2:in `each'
  1623. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1624. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1625. Tag Load (0.8ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "e198578e-12e9-45e8-9fcc-e5243c70cfd5"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  1626. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  1627. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1628. from app/views/esc/_esc_table.html.erb:2:in `each'
  1629. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1630. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1631. CACHE ProjectAccount Load (0.0ms) 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]]
  1632. Query Trace > app/models/account.rb:288:in `get_role'
  1633. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1634. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1635. from app/views/esc/_esc_table.html.erb:2:in `each'
  1636. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1637. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1638. Query Trace > app/models/account.rb:290:in `get_role'
  1639. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1640. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1641. from app/views/esc/_esc_table.html.erb:2:in `each'
  1642. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1643. 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]]
  1644. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1645. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1646. from app/views/esc/_esc_table.html.erb:2:in `each'
  1647. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1648. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1649. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1650. Query Trace > app/models/project.rb:248:in `is_unactive'
  1651. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1652. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1653. from app/views/esc/_esc_table.html.erb:2:in `each'
  1654. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1655. CACHE ProjectAccount Load (0.0ms) 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]]
  1656. Query Trace > app/models/account.rb:288:in `get_role'
  1657. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1658. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1659. from app/views/esc/_esc_table.html.erb:2:in `each'
  1660. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1661. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1662. Query Trace > app/models/account.rb:290:in `get_role'
  1663. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1664. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1665. from app/views/esc/_esc_table.html.erb:2:in `each'
  1666. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1667. 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]]
  1668. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1669. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1670. from app/views/esc/_esc_table.html.erb:2:in `each'
  1671. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1672. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1673. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1674. Query Trace > app/models/project.rb:248:in `is_unactive'
  1675. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1676. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1677. from app/views/esc/_esc_table.html.erb:2:in `each'
  1678. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1679. Revision Load (15.3ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "821d8f03-63e4-4a2b-aa5f-cc84903b5039"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  1680. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  1681. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1682. from app/views/esc/_esc_table.html.erb:2:in `each'
  1683. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1684. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1685. CACHE Account Load (0.1ms) 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]]
  1686. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  1687. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1688. from app/views/esc/_esc_table.html.erb:2:in `each'
  1689. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1690. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1691. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  1692. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  1693. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1694. from app/views/esc/_esc_table.html.erb:2:in `each'
  1695. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1696. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1697. Tag Load (1.1ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "821d8f03-63e4-4a2b-aa5f-cc84903b5039"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  1698. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  1699. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1700. from app/views/esc/_esc_table.html.erb:2:in `each'
  1701. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1702. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1703. CACHE ProjectAccount Load (0.0ms) 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]]
  1704. Query Trace > app/models/account.rb:288:in `get_role'
  1705. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1706. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1707. from app/views/esc/_esc_table.html.erb:2:in `each'
  1708. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1709. CACHE ProjectRole Load (0.1ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1710. Query Trace > app/models/account.rb:290:in `get_role'
  1711. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1712. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1713. from app/views/esc/_esc_table.html.erb:2:in `each'
  1714. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1715. 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]]
  1716. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1717. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1718. from app/views/esc/_esc_table.html.erb:2:in `each'
  1719. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1720. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1721. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1722. Query Trace > app/models/project.rb:248:in `is_unactive'
  1723. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1724. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1725. from app/views/esc/_esc_table.html.erb:2:in `each'
  1726. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1727. CACHE ProjectAccount Load (0.0ms) 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]]
  1728. Query Trace > app/models/account.rb:288:in `get_role'
  1729. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1730. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1731. from app/views/esc/_esc_table.html.erb:2:in `each'
  1732. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1733. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1734. Query Trace > app/models/account.rb:290:in `get_role'
  1735. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1736. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1737. from app/views/esc/_esc_table.html.erb:2:in `each'
  1738. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1739. 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]]
  1740. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1741. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1742. from app/views/esc/_esc_table.html.erb:2:in `each'
  1743. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1744. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1745. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1746. Query Trace > app/models/project.rb:248:in `is_unactive'
  1747. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1748. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1749. from app/views/esc/_esc_table.html.erb:2:in `each'
  1750. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1751. Revision Load (15.0ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "d5f0a5ef-9b2d-44d2-857f-c765f66e4638"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  1752. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  1753. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1754. from app/views/esc/_esc_table.html.erb:2:in `each'
  1755. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1756. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1757. CACHE Account Load (0.0ms) 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]]
  1758. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  1759. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1760. from app/views/esc/_esc_table.html.erb:2:in `each'
  1761. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1762. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1763. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  1764. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  1765. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1766. from app/views/esc/_esc_table.html.erb:2:in `each'
  1767. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1768. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1769. Tag Load (0.8ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "d5f0a5ef-9b2d-44d2-857f-c765f66e4638"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  1770. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  1771. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1772. from app/views/esc/_esc_table.html.erb:2:in `each'
  1773. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1774. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1775. CACHE ProjectAccount Load (0.0ms) 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]]
  1776. Query Trace > app/models/account.rb:288:in `get_role'
  1777. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1778. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1779. from app/views/esc/_esc_table.html.erb:2:in `each'
  1780. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1781. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1782. Query Trace > app/models/account.rb:290:in `get_role'
  1783. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1784. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1785. from app/views/esc/_esc_table.html.erb:2:in `each'
  1786. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1787. 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]]
  1788. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1789. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1790. from app/views/esc/_esc_table.html.erb:2:in `each'
  1791. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1792. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1793. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1794. Query Trace > app/models/project.rb:248:in `is_unactive'
  1795. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1796. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1797. from app/views/esc/_esc_table.html.erb:2:in `each'
  1798. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1799. CACHE ProjectAccount Load (0.0ms) 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]]
  1800. Query Trace > app/models/account.rb:288:in `get_role'
  1801. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1802. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1803. from app/views/esc/_esc_table.html.erb:2:in `each'
  1804. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1805. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1806. Query Trace > app/models/account.rb:290:in `get_role'
  1807. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1808. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1809. from app/views/esc/_esc_table.html.erb:2:in `each'
  1810. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1811. 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]]
  1812. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1813. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1814. from app/views/esc/_esc_table.html.erb:2:in `each'
  1815. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1816. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1817. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1818. Query Trace > app/models/project.rb:248:in `is_unactive'
  1819. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1820. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1821. from app/views/esc/_esc_table.html.erb:2:in `each'
  1822. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1823. Revision Load (15.6ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "6e99f4f5-dde4-4d76-ab64-d8b58d731c4a"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  1824. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  1825. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1826. from app/views/esc/_esc_table.html.erb:2:in `each'
  1827. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1828. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1829. CACHE Account Load (0.0ms) 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]]
  1830. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  1831. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1832. from app/views/esc/_esc_table.html.erb:2:in `each'
  1833. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1834. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1835. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  1836. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  1837. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1838. from app/views/esc/_esc_table.html.erb:2:in `each'
  1839. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1840. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1841. Tag Load (0.8ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "6e99f4f5-dde4-4d76-ab64-d8b58d731c4a"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  1842. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  1843. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1844. from app/views/esc/_esc_table.html.erb:2:in `each'
  1845. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1846. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1847. CACHE ProjectAccount Load (0.0ms) 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]]
  1848. Query Trace > app/models/account.rb:288:in `get_role'
  1849. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1850. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1851. from app/views/esc/_esc_table.html.erb:2:in `each'
  1852. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1853. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1854. Query Trace > app/models/account.rb:290:in `get_role'
  1855. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1856. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1857. from app/views/esc/_esc_table.html.erb:2:in `each'
  1858. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1859. 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]]
  1860. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1861. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1862. from app/views/esc/_esc_table.html.erb:2:in `each'
  1863. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1864. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1865. CACHE ProjectSubscription Load (0.1ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1866. Query Trace > app/models/project.rb:248:in `is_unactive'
  1867. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1868. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1869. from app/views/esc/_esc_table.html.erb:2:in `each'
  1870. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1871. CACHE ProjectAccount Load (0.1ms) 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]]
  1872. Query Trace > app/models/account.rb:288:in `get_role'
  1873. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1874. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1875. from app/views/esc/_esc_table.html.erb:2:in `each'
  1876. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1877. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1878. Query Trace > app/models/account.rb:290:in `get_role'
  1879. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1880. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1881. from app/views/esc/_esc_table.html.erb:2:in `each'
  1882. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1883. 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]]
  1884. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1885. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1886. from app/views/esc/_esc_table.html.erb:2:in `each'
  1887. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1888. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1889. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1890. Query Trace > app/models/project.rb:248:in `is_unactive'
  1891. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1892. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1893. from app/views/esc/_esc_table.html.erb:2:in `each'
  1894. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1895. Revision Load (15.0ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "4519bc65-e3f2-48f4-a93f-a8adb21c8598"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  1896. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  1897. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1898. from app/views/esc/_esc_table.html.erb:2:in `each'
  1899. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1900. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1901. CACHE Account Load (0.0ms) 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]]
  1902. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  1903. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1904. from app/views/esc/_esc_table.html.erb:2:in `each'
  1905. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1906. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1907. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  1908. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  1909. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1910. from app/views/esc/_esc_table.html.erb:2:in `each'
  1911. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1912. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1913. Tag Load (0.8ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "4519bc65-e3f2-48f4-a93f-a8adb21c8598"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  1914. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  1915. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1916. from app/views/esc/_esc_table.html.erb:2:in `each'
  1917. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1918. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1919. CACHE ProjectAccount Load (0.0ms) 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]]
  1920. Query Trace > app/models/account.rb:288:in `get_role'
  1921. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1922. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1923. from app/views/esc/_esc_table.html.erb:2:in `each'
  1924. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1925. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1926. Query Trace > app/models/account.rb:290:in `get_role'
  1927. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1928. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1929. from app/views/esc/_esc_table.html.erb:2:in `each'
  1930. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1931. CACHE Project Load (0.1ms) 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]]
  1932. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1933. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1934. from app/views/esc/_esc_table.html.erb:2:in `each'
  1935. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1936. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1937. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1938. Query Trace > app/models/project.rb:248:in `is_unactive'
  1939. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1940. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1941. from app/views/esc/_esc_table.html.erb:2:in `each'
  1942. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1943. CACHE ProjectAccount Load (0.1ms) 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]]
  1944. Query Trace > app/models/account.rb:288:in `get_role'
  1945. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1946. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1947. from app/views/esc/_esc_table.html.erb:2:in `each'
  1948. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1949. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1950. Query Trace > app/models/account.rb:290:in `get_role'
  1951. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1952. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1953. from app/views/esc/_esc_table.html.erb:2:in `each'
  1954. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1955. 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]]
  1956. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  1957. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1958. from app/views/esc/_esc_table.html.erb:2:in `each'
  1959. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1960. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1961. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  1962. Query Trace > app/models/project.rb:248:in `is_unactive'
  1963. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  1964. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1965. from app/views/esc/_esc_table.html.erb:2:in `each'
  1966. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1967. Revision Load (13.8ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "1910acd4-bf27-4179-a423-607e8fd1fbee"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  1968. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  1969. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1970. from app/views/esc/_esc_table.html.erb:2:in `each'
  1971. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1972. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1973. CACHE Account Load (0.1ms) 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]]
  1974. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  1975. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1976. from app/views/esc/_esc_table.html.erb:2:in `each'
  1977. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1978. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1979. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  1980. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  1981. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1982. from app/views/esc/_esc_table.html.erb:2:in `each'
  1983. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1984. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1985. Tag Load (0.9ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "1910acd4-bf27-4179-a423-607e8fd1fbee"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  1986. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  1987. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1988. from app/views/esc/_esc_table.html.erb:2:in `each'
  1989. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1990. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  1991. CACHE ProjectAccount Load (0.0ms) 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]]
  1992. Query Trace > app/models/account.rb:288:in `get_role'
  1993. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  1994. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1995. from app/views/esc/_esc_table.html.erb:2:in `each'
  1996. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  1997. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  1998. Query Trace > app/models/account.rb:290:in `get_role'
  1999. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2000. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2001. from app/views/esc/_esc_table.html.erb:2:in `each'
  2002. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2003. 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]]
  2004. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2005. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2006. from app/views/esc/_esc_table.html.erb:2:in `each'
  2007. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2008. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2009. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2010. Query Trace > app/models/project.rb:248:in `is_unactive'
  2011. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2012. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2013. from app/views/esc/_esc_table.html.erb:2:in `each'
  2014. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2015. CACHE ProjectAccount Load (0.0ms) 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]]
  2016. Query Trace > app/models/account.rb:288:in `get_role'
  2017. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2018. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2019. from app/views/esc/_esc_table.html.erb:2:in `each'
  2020. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2021. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2022. Query Trace > app/models/account.rb:290:in `get_role'
  2023. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2024. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2025. from app/views/esc/_esc_table.html.erb:2:in `each'
  2026. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2027. 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]]
  2028. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2029. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2030. from app/views/esc/_esc_table.html.erb:2:in `each'
  2031. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2032. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2033. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2034. Query Trace > app/models/project.rb:248:in `is_unactive'
  2035. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2036. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2037. from app/views/esc/_esc_table.html.erb:2:in `each'
  2038. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2039. Revision Load (13.4ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "173c470c-61cc-42e3-a6ed-c1bbcf0ff6c7"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  2040. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  2041. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2042. from app/views/esc/_esc_table.html.erb:2:in `each'
  2043. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2044. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2045. CACHE Account Load (0.1ms) 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]]
  2046. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  2047. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2048. from app/views/esc/_esc_table.html.erb:2:in `each'
  2049. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2050. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2051. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  2052. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  2053. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2054. from app/views/esc/_esc_table.html.erb:2:in `each'
  2055. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2056. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2057. Tag Load (1.8ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "173c470c-61cc-42e3-a6ed-c1bbcf0ff6c7"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  2058. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  2059. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2060. from app/views/esc/_esc_table.html.erb:2:in `each'
  2061. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2062. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2063. CACHE ProjectAccount Load (0.0ms) 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]]
  2064. Query Trace > app/models/account.rb:288:in `get_role'
  2065. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2066. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2067. from app/views/esc/_esc_table.html.erb:2:in `each'
  2068. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2069. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2070. Query Trace > app/models/account.rb:290:in `get_role'
  2071. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2072. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2073. from app/views/esc/_esc_table.html.erb:2:in `each'
  2074. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2075. 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]]
  2076. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2077. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2078. from app/views/esc/_esc_table.html.erb:2:in `each'
  2079. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2080. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2081. CACHE ProjectSubscription Load (0.1ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2082. Query Trace > app/models/project.rb:248:in `is_unactive'
  2083. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2084. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2085. from app/views/esc/_esc_table.html.erb:2:in `each'
  2086. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2087. CACHE ProjectAccount Load (0.1ms) 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]]
  2088. Query Trace > app/models/account.rb:288:in `get_role'
  2089. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2090. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2091. from app/views/esc/_esc_table.html.erb:2:in `each'
  2092. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2093. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2094. Query Trace > app/models/account.rb:290:in `get_role'
  2095. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2096. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2097. from app/views/esc/_esc_table.html.erb:2:in `each'
  2098. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2099. 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]]
  2100. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2101. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2102. from app/views/esc/_esc_table.html.erb:2:in `each'
  2103. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2104. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2105. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2106. Query Trace > app/models/project.rb:248:in `is_unactive'
  2107. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2108. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2109. from app/views/esc/_esc_table.html.erb:2:in `each'
  2110. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2111. Revision Load (16.5ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "a95789cb-a556-4c21-aaf7-0ed0a0651713"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  2112. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  2113. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2114. from app/views/esc/_esc_table.html.erb:2:in `each'
  2115. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2116. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2117. CACHE Account Load (0.0ms) 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]]
  2118. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  2119. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2120. from app/views/esc/_esc_table.html.erb:2:in `each'
  2121. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2122. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2123. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  2124. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  2125. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2126. from app/views/esc/_esc_table.html.erb:2:in `each'
  2127. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2128. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2129. Tag Load (0.8ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "a95789cb-a556-4c21-aaf7-0ed0a0651713"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  2130. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  2131. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2132. from app/views/esc/_esc_table.html.erb:2:in `each'
  2133. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2134. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2135. CACHE ProjectAccount Load (0.0ms) 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]]
  2136. Query Trace > app/models/account.rb:288:in `get_role'
  2137. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2138. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2139. from app/views/esc/_esc_table.html.erb:2:in `each'
  2140. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2141. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2142. Query Trace > app/models/account.rb:290:in `get_role'
  2143. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2144. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2145. from app/views/esc/_esc_table.html.erb:2:in `each'
  2146. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2147. CACHE Project Load (0.1ms) 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]]
  2148. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2149. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2150. from app/views/esc/_esc_table.html.erb:2:in `each'
  2151. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2152. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2153. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2154. Query Trace > app/models/project.rb:248:in `is_unactive'
  2155. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2156. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2157. from app/views/esc/_esc_table.html.erb:2:in `each'
  2158. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2159. CACHE ProjectAccount Load (0.0ms) 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]]
  2160. Query Trace > app/models/account.rb:288:in `get_role'
  2161. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2162. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2163. from app/views/esc/_esc_table.html.erb:2:in `each'
  2164. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2165. CACHE ProjectRole Load (0.1ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2166. Query Trace > app/models/account.rb:290:in `get_role'
  2167. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2168. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2169. from app/views/esc/_esc_table.html.erb:2:in `each'
  2170. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2171. 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]]
  2172. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2173. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2174. from app/views/esc/_esc_table.html.erb:2:in `each'
  2175. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2176. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2177. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2178. Query Trace > app/models/project.rb:248:in `is_unactive'
  2179. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2180. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2181. from app/views/esc/_esc_table.html.erb:2:in `each'
  2182. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2183. Revision Load (13.6ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "82742e22-7d84-4a33-ac17-5292f6e16f32"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  2184. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  2185. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2186. from app/views/esc/_esc_table.html.erb:2:in `each'
  2187. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2188. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2189. CACHE Account Load (0.1ms) 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]]
  2190. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  2191. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2192. from app/views/esc/_esc_table.html.erb:2:in `each'
  2193. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2194. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2195. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  2196. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  2197. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2198. from app/views/esc/_esc_table.html.erb:2:in `each'
  2199. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2200. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2201. Tag Load (0.7ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "82742e22-7d84-4a33-ac17-5292f6e16f32"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  2202. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  2203. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2204. from app/views/esc/_esc_table.html.erb:2:in `each'
  2205. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2206. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2207. CACHE ProjectAccount Load (0.0ms) 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]]
  2208. Query Trace > app/models/account.rb:288:in `get_role'
  2209. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2210. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2211. from app/views/esc/_esc_table.html.erb:2:in `each'
  2212. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2213. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2214. Query Trace > app/models/account.rb:290:in `get_role'
  2215. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2216. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2217. from app/views/esc/_esc_table.html.erb:2:in `each'
  2218. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2219. 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]]
  2220. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2221. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2222. from app/views/esc/_esc_table.html.erb:2:in `each'
  2223. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2224. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2225. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2226. Query Trace > app/models/project.rb:248:in `is_unactive'
  2227. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2228. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2229. from app/views/esc/_esc_table.html.erb:2:in `each'
  2230. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2231. CACHE ProjectAccount Load (0.0ms) 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]]
  2232. Query Trace > app/models/account.rb:288:in `get_role'
  2233. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2234. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2235. from app/views/esc/_esc_table.html.erb:2:in `each'
  2236. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2237. CACHE ProjectRole Load (0.1ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2238. Query Trace > app/models/account.rb:290:in `get_role'
  2239. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2240. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2241. from app/views/esc/_esc_table.html.erb:2:in `each'
  2242. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2243. 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]]
  2244. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2245. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2246. from app/views/esc/_esc_table.html.erb:2:in `each'
  2247. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2248. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2249. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2250. Query Trace > app/models/project.rb:248:in `is_unactive'
  2251. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2252. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2253. from app/views/esc/_esc_table.html.erb:2:in `each'
  2254. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2255. Revision Load (16.9ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "662a1f26-5c6e-4509-882b-fca0d92ad04d"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  2256. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  2257. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2258. from app/views/esc/_esc_table.html.erb:2:in `each'
  2259. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2260. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2261. CACHE Account Load (0.0ms) 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]]
  2262. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  2263. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2264. from app/views/esc/_esc_table.html.erb:2:in `each'
  2265. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2266. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2267. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  2268. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  2269. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2270. from app/views/esc/_esc_table.html.erb:2:in `each'
  2271. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2272. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2273. Tag Load (1.0ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "662a1f26-5c6e-4509-882b-fca0d92ad04d"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  2274. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  2275. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2276. from app/views/esc/_esc_table.html.erb:2:in `each'
  2277. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2278. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2279. CACHE ProjectAccount Load (0.0ms) 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]]
  2280. Query Trace > app/models/account.rb:288:in `get_role'
  2281. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2282. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2283. from app/views/esc/_esc_table.html.erb:2:in `each'
  2284. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2285. CACHE ProjectRole Load (0.1ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2286. Query Trace > app/models/account.rb:290:in `get_role'
  2287. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2288. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2289. from app/views/esc/_esc_table.html.erb:2:in `each'
  2290. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2291. 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]]
  2292. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2293. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2294. from app/views/esc/_esc_table.html.erb:2:in `each'
  2295. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2296. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2297. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2298. Query Trace > app/models/project.rb:248:in `is_unactive'
  2299. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2300. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2301. from app/views/esc/_esc_table.html.erb:2:in `each'
  2302. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2303. CACHE ProjectAccount Load (0.0ms) 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]]
  2304. Query Trace > app/models/account.rb:288:in `get_role'
  2305. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2306. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2307. from app/views/esc/_esc_table.html.erb:2:in `each'
  2308. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2309. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2310. Query Trace > app/models/account.rb:290:in `get_role'
  2311. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2312. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2313. from app/views/esc/_esc_table.html.erb:2:in `each'
  2314. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2315. 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]]
  2316. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2317. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2318. from app/views/esc/_esc_table.html.erb:2:in `each'
  2319. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2320. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2321. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2322. Query Trace > app/models/project.rb:248:in `is_unactive'
  2323. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2324. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2325. from app/views/esc/_esc_table.html.erb:2:in `each'
  2326. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2327. Revision Load (14.9ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "974809d6-592a-4e73-ac5d-d46c93e73f66"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  2328. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  2329. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2330. from app/views/esc/_esc_table.html.erb:2:in `each'
  2331. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2332. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2333. CACHE Account Load (0.0ms) 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]]
  2334. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  2335. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2336. from app/views/esc/_esc_table.html.erb:2:in `each'
  2337. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2338. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2339. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  2340. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  2341. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2342. from app/views/esc/_esc_table.html.erb:2:in `each'
  2343. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2344. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2345. Tag Load (1.5ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "974809d6-592a-4e73-ac5d-d46c93e73f66"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  2346. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  2347. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2348. from app/views/esc/_esc_table.html.erb:2:in `each'
  2349. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2350. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2351. CACHE ProjectAccount Load (0.0ms) 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]]
  2352. Query Trace > app/models/account.rb:288:in `get_role'
  2353. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2354. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2355. from app/views/esc/_esc_table.html.erb:2:in `each'
  2356. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2357. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2358. Query Trace > app/models/account.rb:290:in `get_role'
  2359. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2360. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2361. from app/views/esc/_esc_table.html.erb:2:in `each'
  2362. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2363. CACHE Project Load (0.1ms) 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]]
  2364. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2365. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2366. from app/views/esc/_esc_table.html.erb:2:in `each'
  2367. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2368. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2369. CACHE ProjectSubscription Load (0.1ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2370. Query Trace > app/models/project.rb:248:in `is_unactive'
  2371. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2372. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2373. from app/views/esc/_esc_table.html.erb:2:in `each'
  2374. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2375. CACHE ProjectAccount Load (0.0ms) 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]]
  2376. Query Trace > app/models/account.rb:288:in `get_role'
  2377. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2378. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2379. from app/views/esc/_esc_table.html.erb:2:in `each'
  2380. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2381. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2382. Query Trace > app/models/account.rb:290:in `get_role'
  2383. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2384. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2385. from app/views/esc/_esc_table.html.erb:2:in `each'
  2386. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2387. 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]]
  2388. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2389. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2390. from app/views/esc/_esc_table.html.erb:2:in `each'
  2391. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2392. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2393. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2394. Query Trace > app/models/project.rb:248:in `is_unactive'
  2395. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2396. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2397. from app/views/esc/_esc_table.html.erb:2:in `each'
  2398. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2399. Revision Load (15.6ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "90ed2472-baeb-4a63-8cea-a0603edada1b"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  2400. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  2401. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2402. from app/views/esc/_esc_table.html.erb:2:in `each'
  2403. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2404. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2405. CACHE Account Load (0.0ms) 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]]
  2406. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  2407. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2408. from app/views/esc/_esc_table.html.erb:2:in `each'
  2409. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2410. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2411. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  2412. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  2413. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2414. from app/views/esc/_esc_table.html.erb:2:in `each'
  2415. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2416. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2417. Tag Load (0.8ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "90ed2472-baeb-4a63-8cea-a0603edada1b"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  2418. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  2419. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2420. from app/views/esc/_esc_table.html.erb:2:in `each'
  2421. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2422. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2423. CACHE ProjectAccount Load (0.0ms) 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]]
  2424. Query Trace > app/models/account.rb:288:in `get_role'
  2425. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2426. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2427. from app/views/esc/_esc_table.html.erb:2:in `each'
  2428. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2429. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2430. Query Trace > app/models/account.rb:290:in `get_role'
  2431. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2432. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2433. from app/views/esc/_esc_table.html.erb:2:in `each'
  2434. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2435. 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]]
  2436. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2437. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2438. from app/views/esc/_esc_table.html.erb:2:in `each'
  2439. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2440. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2441. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2442. Query Trace > app/models/project.rb:248:in `is_unactive'
  2443. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2444. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2445. from app/views/esc/_esc_table.html.erb:2:in `each'
  2446. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2447. CACHE ProjectAccount Load (0.0ms) 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]]
  2448. Query Trace > app/models/account.rb:288:in `get_role'
  2449. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2450. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2451. from app/views/esc/_esc_table.html.erb:2:in `each'
  2452. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2453. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2454. Query Trace > app/models/account.rb:290:in `get_role'
  2455. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2456. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2457. from app/views/esc/_esc_table.html.erb:2:in `each'
  2458. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2459. 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]]
  2460. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2461. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2462. from app/views/esc/_esc_table.html.erb:2:in `each'
  2463. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2464. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2465. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2466. Query Trace > app/models/project.rb:248:in `is_unactive'
  2467. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2468. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2469. from app/views/esc/_esc_table.html.erb:2:in `each'
  2470. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2471. Revision Load (13.3ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "c8d3093d-de6a-46f7-8777-b8ca484320f4"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  2472. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  2473. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2474. from app/views/esc/_esc_table.html.erb:2:in `each'
  2475. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2476. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2477. CACHE Account Load (0.0ms) 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]]
  2478. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  2479. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2480. from app/views/esc/_esc_table.html.erb:2:in `each'
  2481. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2482. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2483. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  2484. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  2485. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2486. from app/views/esc/_esc_table.html.erb:2:in `each'
  2487. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2488. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2489. Tag Load (1.1ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "c8d3093d-de6a-46f7-8777-b8ca484320f4"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  2490. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  2491. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2492. from app/views/esc/_esc_table.html.erb:2:in `each'
  2493. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2494. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2495. CACHE ProjectAccount Load (0.0ms) 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]]
  2496. Query Trace > app/models/account.rb:288:in `get_role'
  2497. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2498. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2499. from app/views/esc/_esc_table.html.erb:2:in `each'
  2500. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2501. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2502. Query Trace > app/models/account.rb:290:in `get_role'
  2503. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2504. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2505. from app/views/esc/_esc_table.html.erb:2:in `each'
  2506. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2507. 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]]
  2508. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2509. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2510. from app/views/esc/_esc_table.html.erb:2:in `each'
  2511. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2512. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2513. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2514. Query Trace > app/models/project.rb:248:in `is_unactive'
  2515. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2516. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2517. from app/views/esc/_esc_table.html.erb:2:in `each'
  2518. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2519. CACHE ProjectAccount Load (0.0ms) 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]]
  2520. Query Trace > app/models/account.rb:288:in `get_role'
  2521. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2522. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2523. from app/views/esc/_esc_table.html.erb:2:in `each'
  2524. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2525. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2526. Query Trace > app/models/account.rb:290:in `get_role'
  2527. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2528. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2529. from app/views/esc/_esc_table.html.erb:2:in `each'
  2530. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2531. 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]]
  2532. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2533. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2534. from app/views/esc/_esc_table.html.erb:2:in `each'
  2535. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2536. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2537. CACHE ProjectSubscription Load (0.1ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2538. Query Trace > app/models/project.rb:248:in `is_unactive'
  2539. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2540. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2541. from app/views/esc/_esc_table.html.erb:2:in `each'
  2542. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2543. Revision Load (20.4ms) SELECT "revisions".* FROM "revisions" WHERE "revisions"."entity_id" = $1 AND "revisions"."entity_name" = $2 ORDER BY created_at DESC LIMIT $3 [["entity_id", "03df8911-66a6-481b-9884-b7d5cc83daa6"], ["entity_name", "EscEntry"], ["LIMIT", 1]]
  2544. Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
  2545. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2546. from app/views/esc/_esc_table.html.erb:2:in `each'
  2547. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2548. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2549. CACHE Account Load (0.1ms) 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]]
  2550. Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
  2551. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2552. from app/views/esc/_esc_table.html.erb:2:in `each'
  2553. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2554. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2555. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  2556. Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
  2557. from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2558. from app/views/esc/_esc_table.html.erb:2:in `each'
  2559. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2560. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2561. Tag Load (0.8ms) SELECT "tags".* FROM "tags" INNER JOIN "polymorphic_tags" ON "tags"."id" = "polymorphic_tags"."tag_id" WHERE "polymorphic_tags"."taggable_id" = $1 AND "polymorphic_tags"."taggable_type" = $2 ORDER BY "tags"."id" ASC LIMIT $3 [["taggable_id", "03df8911-66a6-481b-9884-b7d5cc83daa6"], ["taggable_type", "EscEntry"], ["LIMIT", 1]]
  2562. Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
  2563. from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2564. from app/views/esc/_esc_table.html.erb:2:in `each'
  2565. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2566. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2567. CACHE ProjectAccount Load (0.1ms) 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]]
  2568. Query Trace > app/models/account.rb:288:in `get_role'
  2569. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2570. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2571. from app/views/esc/_esc_table.html.erb:2:in `each'
  2572. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2573. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2574. Query Trace > app/models/account.rb:290:in `get_role'
  2575. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2576. from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2577. from app/views/esc/_esc_table.html.erb:2:in `each'
  2578. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2579. 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]]
  2580. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2581. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2582. from app/views/esc/_esc_table.html.erb:2:in `each'
  2583. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2584. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2585. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2586. Query Trace > app/models/project.rb:248:in `is_unactive'
  2587. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2588. from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2589. from app/views/esc/_esc_table.html.erb:2:in `each'
  2590. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2591. CACHE ProjectAccount Load (0.0ms) 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]]
  2592. Query Trace > app/models/account.rb:288:in `get_role'
  2593. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2594. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2595. from app/views/esc/_esc_table.html.erb:2:in `each'
  2596. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2597. CACHE ProjectRole Load (0.0ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2598. Query Trace > app/models/account.rb:290:in `get_role'
  2599. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2600. from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2601. from app/views/esc/_esc_table.html.erb:2:in `each'
  2602. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2603. CACHE Project Load (0.1ms) 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]]
  2604. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2605. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2606. from app/views/esc/_esc_table.html.erb:2:in `each'
  2607. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2608. from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
  2609. CACHE ProjectSubscription Load (0.1ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2610. Query Trace > app/models/project.rb:248:in `is_unactive'
  2611. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2612. from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2613. from app/views/esc/_esc_table.html.erb:2:in `each'
  2614. from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
  2615. Rendered esc/_esc_table.html.erb (1017.8ms)
  2616. Rendered shared/_debug.html.erb (1.1ms)
  2617. Rendered esc/index.html.erb within layouts/application (1033.1ms)
  2618. CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 LIMIT $2 [["id", "defb2f9c-93f1-48c3-bea7-35aaa603299c"], ["LIMIT", 1]]
  2619. Query Trace > app/models/account.rb:98:in `full_name'
  2620. from app/views/layouts/_navigation_top.html.erb:13:in `_app_views_layouts__navigation_top_html_erb__2851521937230260528_124833960'
  2621. from app/views/layouts/application.html.erb:19:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2622. Project Load (1.4ms) SELECT "projects".* FROM "projects" INNER JOIN "project_accounts" ON "projects"."id" = "project_accounts"."project_id" WHERE "projects"."deleted_at" IS NULL AND "project_accounts"."deleted_at" IS NULL AND "project_accounts"."account_id" = $1 GROUP BY projects.id [["account_id", "13c3515d-d658-4af6-af62-26bc1b186215"]]
  2623. Query Trace > app/models/account.rb:107:in `has_projects_with_active?'
  2624. from app/views/layouts/_navigation_top.html.erb:105:in `_app_views_layouts__navigation_top_html_erb__2851521937230260528_124833960'
  2625. from app/views/layouts/application.html.erb:19:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2626. ProjectSubscription Load (0.8ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" IN ('08e043f3-da45-4921-9241-a848221f7824', '0b526b90-544a-470b-8325-c59655c2fdb9', '1285b7b4-c695-45e5-ad89-442d104771bf', '248bbfae-1aa7-4066-a96b-a400a3ff49c2', '3a8a931d-c8e0-4035-acc7-77c6dfc60301', '3f8ed804-e827-4c24-9808-19116396b833', '46c21b31-1430-4ac8-a324-a38ece5724ba', '565e20b0-cea4-46be-96d8-3af8ca6964e8', '81848199-d76e-4344-88ae-9c2b5665d6c4', '947c9c7c-c97a-4376-9c3f-33f16d2da763', '9519a899-7db2-478a-a09b-2636569c73db', '9bc65562-41d9-4f35-948a-ee1fa9a4de19', 'af7a477b-cbfb-4aab-94d0-50a44358998b', 'c36851a4-13de-45a6-a90a-1a49a0e7e090', 'e79ecc32-408c-4c6d-8af8-bca63f6bd1ba', 'edee55f3-242a-4dff-8f68-cad509b5e8e3', 'ee23e08d-00da-4a94-bdb5-bab96c99cc3a', 'f08aecc4-8999-4232-b561-bbb5110aef80', 'f685005c-9e70-4853-924c-ac4df5c7a8ad') AND "project_subscriptions"."status" IN ('active', 'trialing') ORDER BY created_at desc
  2627. Query Trace > app/models/account.rb:108:in `has_projects_with_active?'
  2628. from app/views/layouts/_navigation_top.html.erb:105:in `_app_views_layouts__navigation_top_html_erb__2851521937230260528_124833960'
  2629. from app/views/layouts/application.html.erb:19:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2630. Rendered layouts/_navigation_top.html.erb (19.6ms)
  2631. Rendered shared/_need_activation.html.erb (0.4ms)
  2632. Rendered layouts/_app_modals.html.erb (1.4ms)
  2633. Project Load (1.9ms) SELECT "projects".* FROM "projects" INNER JOIN "project_accounts" ON "projects"."id" = "project_accounts"."project_id" WHERE "projects"."deleted_at" IS NULL AND "project_accounts"."deleted_at" IS NULL AND "project_accounts"."account_id" = $1 AND "projects"."archive" = $2 GROUP BY projects.id [["account_id", "13c3515d-d658-4af6-af62-26bc1b186215"], ["archive", "f"]]
  2634. Query Trace > app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2635. from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
  2636. from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2637. ProjectSubscription Load (0.7ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "08e043f3-da45-4921-9241-a848221f7824"], ["LIMIT", 1]]
  2638. Query Trace > app/models/project.rb:240:in `is_active'
  2639. from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2640. from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2641. from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
  2642. from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2643. Rendered layouts/_navigation_links.erb (2.3ms)
  2644. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2645. Query Trace > app/models/project.rb:240:in `is_active'
  2646. from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2647. from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2648. from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
  2649. from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2650. Rendered layouts/_navigation_links.erb (1.3ms)
  2651. ProjectSubscription Load (0.8ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "248bbfae-1aa7-4066-a96b-a400a3ff49c2"], ["LIMIT", 1]]
  2652. Query Trace > app/models/project.rb:240:in `is_active'
  2653. from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2654. from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2655. from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
  2656. from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2657. Rendered layouts/_navigation_links.erb (0.6ms)
  2658. ProjectSubscription Load (0.6ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "3a8a931d-c8e0-4035-acc7-77c6dfc60301"], ["LIMIT", 1]]
  2659. Query Trace > app/models/project.rb:240:in `is_active'
  2660. from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2661. from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2662. from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
  2663. from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2664. Rendered layouts/_navigation_links.erb (1.0ms)
  2665. ProjectSubscription Load (0.9ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "81848199-d76e-4344-88ae-9c2b5665d6c4"], ["LIMIT", 1]]
  2666. Query Trace > app/models/project.rb:240:in `is_active'
  2667. from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2668. from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2669. from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
  2670. from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2671. Rendered layouts/_navigation_links.erb (0.6ms)
  2672. ProjectSubscription Load (0.8ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "9519a899-7db2-478a-a09b-2636569c73db"], ["LIMIT", 1]]
  2673. Query Trace > app/models/project.rb:240:in `is_active'
  2674. from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2675. from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2676. from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
  2677. from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2678. Rendered layouts/_navigation_links.erb (0.9ms)
  2679. ProjectSubscription Load (0.7ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "edee55f3-242a-4dff-8f68-cad509b5e8e3"], ["LIMIT", 1]]
  2680. Query Trace > app/models/project.rb:240:in `is_active'
  2681. from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2682. from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2683. from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
  2684. from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2685. Rendered layouts/_navigation_links.erb (0.6ms)
  2686. ProjectSubscription Load (0.8ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "ee23e08d-00da-4a94-bdb5-bab96c99cc3a"], ["LIMIT", 1]]
  2687. Query Trace > app/models/project.rb:240:in `is_active'
  2688. from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2689. from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2690. from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
  2691. from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2692. Rendered layouts/_navigation_links.erb (0.6ms)
  2693. ProjectSubscription Load (0.8ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "f685005c-9e70-4853-924c-ac4df5c7a8ad"], ["LIMIT", 1]]
  2694. Query Trace > app/models/project.rb:240:in `is_active'
  2695. from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2696. from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
  2697. from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
  2698. from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2699. Rendered layouts/_navigation_links.erb (0.5ms)
  2700. Rendered project/_projects_left_menu.html.erb (69.1ms)
  2701. Rendered layouts/_navigation.erb (70.0ms)
  2702. 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]]
  2703. Query Trace > app/views/shared/_link_to_modal.html.erb:2:in `_app_views_shared__link_to_modal_html_erb__1734418375885643971_122088560'
  2704. from app/views/layouts/_nav_breadcrumbs.html.erb:208:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
  2705. from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2706. Rendered shared/_link_to_modal.html.erb (3.4ms)
  2707. CACHE ProjectAccount Load (0.0ms) 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]]
  2708. Query Trace > app/models/account.rb:288:in `get_role'
  2709. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2710. from app/views/layouts/_nav_breadcrumbs.html.erb:226:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
  2711. from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2712. CACHE ProjectRole Load (0.1ms) SELECT "project_roles".* FROM "project_roles" WHERE "project_roles"."id" = $1 LIMIT $2 [["id", "e4d3b0e3-905d-4895-a72d-285b1f2d0d00"], ["LIMIT", 1]]
  2713. Query Trace > app/models/account.rb:290:in `get_role'
  2714. from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
  2715. from app/views/layouts/_nav_breadcrumbs.html.erb:226:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
  2716. from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2717. 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]]
  2718. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2719. from app/views/layouts/_nav_breadcrumbs.html.erb:237:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
  2720. from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2721. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2722. Query Trace > app/models/project.rb:248:in `is_unactive'
  2723. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2724. from app/views/layouts/_nav_breadcrumbs.html.erb:237:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
  2725. from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2726. 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]]
  2727. Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
  2728. from app/views/layouts/_nav_breadcrumbs.html.erb:244:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
  2729. from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2730. CACHE ProjectSubscription Load (0.0ms) SELECT "project_subscriptions".* FROM "project_subscriptions" WHERE "project_subscriptions"."deleted_at" IS NULL AND "project_subscriptions"."project_id" = $1 ORDER BY created_at desc LIMIT $2 [["project_id", "0b526b90-544a-470b-8325-c59655c2fdb9"], ["LIMIT", 1]]
  2731. Query Trace > app/models/project.rb:248:in `is_unactive'
  2732. from app/helpers/application_helper.rb:437:in `get_project_status_class'
  2733. from app/views/layouts/_nav_breadcrumbs.html.erb:244:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
  2734. from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
  2735. Rendered layouts/_nav_breadcrumbs.html.erb (43.3ms)
  2736. Completed 200 OK in 1767ms (Views: 1447.0ms | ActiveRecord: 269.7ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement