Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started POST "/esc" for 192.168.176.1 at 2018-08-28 12:08:04 +0000
- Processing by EscController#create as HTML
- 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"}
- 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]]
- 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]]
- Query Trace > app/controllers/application_controller.rb:721:in `project_belongs_to_account?'
- 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]]
- Query Trace > app/controllers/application_controller.rb:723:in `project_belongs_to_account?'
- 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]]
- Query Trace > app/controllers/application_controller.rb:957:in `project_is_active?'
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/controllers/application_controller.rb:958:in `project_is_active?'
- 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]]
- Query Trace > app/controllers/application_controller.rb:1031:in `can_edit?'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/controllers/application_controller.rb:1032:in `can_edit?'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/controllers/application_controller.rb:1032:in `can_edit?'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/controllers/application_controller.rb:1035:in `can_edit?'
- 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]]
- Query Trace > app/controllers/esc_controller.rb:220:in `set_project'
- 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]]
- Query Trace > app/controllers/application_controller.rb:1047:in `allowable_credit?'
- from app/controllers/esc_controller.rb:11:in `block in <class:EscController>'
- 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]]
- Query Trace > app/controllers/application_controller.rb:1048:in `allowable_credit?'
- from app/controllers/esc_controller.rb:11:in `block in <class:EscController>'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- 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]]
- Query Trace > app/models/esc_measure.rb:56:in `block in all_exist?'
- from app/models/esc_measure.rb:55:in `each'
- from app/models/esc_measure.rb:55:in `all_exist?'
- from app/controllers/esc_controller.rb:108:in `create'
- (0.4ms) BEGIN
- Query Trace > app/controllers/esc_controller.rb:111:in `create'
- 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", ""]]
- Query Trace > app/controllers/esc_controller.rb:111:in `create'
- 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]]
- Query Trace > app/controllers/esc_controller.rb:111:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:134:in `create_revision'
- from app/controllers/esc_controller.rb:111:in `create'
- (18.8ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "1a2bcc75-974f-4557-af6b-f265600bb554"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry.rb:134:in `create_revision'
- from app/controllers/esc_controller.rb:111:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry.rb:134:in `create_revision'
- from app/controllers/esc_controller.rb:111:in `create'
- 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"]]
- Query Trace > app/controllers/esc_controller.rb:111:in `create'
- (4.7ms) COMMIT
- Query Trace > app/controllers/esc_controller.rb:111:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.4ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (20.7ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "f124653d-e2ba-4bd8-904a-ff8882d20eaf"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (2.1ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.7ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "f124653d-e2ba-4bd8-904a-ff8882d20eaf"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/comment.rb:72:in `create_revision'
- from app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (21.3ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "9e45d571-b3f9-4951-9a30-0e892af2954a"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/comment.rb:72:in `create_revision'
- from app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/comment.rb:72:in `create_revision'
- from app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.1ms) COMMIT
- Query Trace > app/models/esc_entry_measure.rb:82:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.7ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (19.6ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "bea9623b-ad60-43d1-83f8-6d043376d268"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.3ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.8ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "bea9623b-ad60-43d1-83f8-6d043376d268"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.4ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (19.4ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "4d959ce6-f310-4741-a27f-e9a6f9d27462"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.1ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (2.0ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "4d959ce6-f310-4741-a27f-e9a6f9d27462"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.4ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.3ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "49a4b70a-506c-4dd0-b53e-0d84b554988c"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.1ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "49a4b70a-506c-4dd0-b53e-0d84b554988c"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.7ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (16.3ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "3e71780a-f600-4938-a8ed-4185ae4de8e0"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.1ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "3e71780a-f600-4938-a8ed-4185ae4de8e0"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.9ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "ff564102-4b5c-49ce-8186-96aee4608f39"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.6ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "ff564102-4b5c-49ce-8186-96aee4608f39"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.4ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (19.9ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "740ba91d-31f1-4c4e-b662-28c137168675"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (3.5ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "740ba91d-31f1-4c4e-b662-28c137168675"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (20.1ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "5c0720fb-98d0-4b73-84b7-bc056989c16f"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.2ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "5c0720fb-98d0-4b73-84b7-bc056989c16f"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.4ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "03907d15-f8ec-4d4b-85a7-dfdda14fe6d7"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (4.0ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "03907d15-f8ec-4d4b-85a7-dfdda14fe6d7"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (20.0ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "90eb2860-6b9e-4e80-82f6-13bcf92c183e"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (2.7ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.7ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "90eb2860-6b9e-4e80-82f6-13bcf92c183e"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.5ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (16.9ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "f47691ed-fa3f-45ef-b165-797724a69047"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.6ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "f47691ed-fa3f-45ef-b165-797724a69047"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.4ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (19.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "8754e59a-0ffd-4503-9666-975bf4494265"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.1ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "8754e59a-0ffd-4503-9666-975bf4494265"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.4ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (16.1ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "7ab97489-9505-4056-b50d-05499f1775be"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.1ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (2.0ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "7ab97489-9505-4056-b50d-05499f1775be"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (20.1ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "b9c5b6b7-fa5d-48bb-9128-20819e047041"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.1ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "b9c5b6b7-fa5d-48bb-9128-20819e047041"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.4ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (16.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "c9d4e7b6-9e45-4670-9989-48e38df954af"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.6ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (2.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "c9d4e7b6-9e45-4670-9989-48e38df954af"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.2ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.8ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "7c915237-079e-4a72-8a41-4d41e659b7d5"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.9ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "7c915237-079e-4a72-8a41-4d41e659b7d5"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.2ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "2a2531e6-192b-4479-b859-5be46f944b21"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.1ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "2a2531e6-192b-4479-b859-5be46f944b21"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.8ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "d21319e2-842a-4587-83ac-4ce2035b37fc"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.0ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.7ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "d21319e2-842a-4587-83ac-4ce2035b37fc"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.6ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "3b7d6b26-5b9f-4efa-9904-64451e1f9437"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.7ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "3b7d6b26-5b9f-4efa-9904-64451e1f9437"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.5ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (19.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "0d8867f0-4638-47b7-8765-4bd2622c39e1"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.2ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "0d8867f0-4638-47b7-8765-4bd2622c39e1"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.2ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "04effaa4-e31d-4e25-a05d-d57a31016ce8"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.1ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "04effaa4-e31d-4e25-a05d-d57a31016ce8"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.5ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.2ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "c9ff046f-21a1-4771-9075-7c04fe9bacb9"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.0ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (2.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "c9ff046f-21a1-4771-9075-7c04fe9bacb9"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.2ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "f9be05d6-2190-46b8-87e1-951d66d3a5f3"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.5ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "f9be05d6-2190-46b8-87e1-951d66d3a5f3"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (16.8ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "aa51a70c-7b54-4bc0-97d6-a59424b95588"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.4ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.8ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "aa51a70c-7b54-4bc0-97d6-a59424b95588"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.5ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (18.7ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "b4d72db9-ff92-4075-8684-96e7192ec319"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.0ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (2.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "b4d72db9-ff92-4075-8684-96e7192ec319"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (17.4ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "738885e9-5ca2-48b9-9cb9-2558b9dadbb1"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.2ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (2.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "738885e9-5ca2-48b9-9cb9-2558b9dadbb1"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (17.4ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "0d98631f-bc40-4276-81cf-80e57db177fd"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.0ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "0d98631f-bc40-4276-81cf-80e57db177fd"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (17.5ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "068e57f8-021e-410e-9076-57573454ab52"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.4ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.7ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "068e57f8-021e-410e-9076-57573454ab52"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.2ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (17.1ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "3bcee6c5-0748-4936-9026-3ce20353c9f2"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.9ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "3bcee6c5-0748-4936-9026-3ce20353c9f2"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/esc_entry.rb:157:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (16.9ms) SELECT COUNT(*) FROM "revisions" WHERE "revisions"."entity_id" = $1 [["entity_id", "5abbceac-b192-4779-b2b9-033a583e55af"]]
- Query Trace > app/models/revision.rb:147:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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"]]
- Query Trace > app/models/revision.rb:148:in `add_data'
- from app/models/esc_entry_measure.rb:66:in `create_revision'
- from app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- (1.4ms) COMMIT
- Query Trace > app/models/esc_entry.rb:158:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- Comment Load (1.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."entity_id" = $1 LIMIT $2 [["entity_id", "5abbceac-b192-4779-b2b9-033a583e55af"], ["LIMIT", 1]]
- Query Trace > app/models/esc_entry_measure.rb:78:in `create_or_update_comment'
- from app/models/esc_entry.rb:161:in `block in create_entry_measures'
- from app/models/esc_entry.rb:156:in `create_entry_measures'
- from app/controllers/esc_controller.rb:112:in `create'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/services/tag_creator.rb:30:in `entry_tag?'
- from app/services/tag_creator.rb:10:in `create_or_update_tag'
- from app/controllers/esc_controller.rb:113:in `create'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/services/tag_creator.rb:30:in `entry_tag?'
- from app/services/tag_creator.rb:11:in `create_or_update_tag'
- from app/controllers/esc_controller.rb:113:in `create'
- 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]]
- Query Trace > app/models/project.rb:113:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- 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"]]
- Query Trace > app/models/project_calculations.rb:25:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- 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"]]
- Query Trace > app/models/project_calculations.rb:75:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- 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"]]
- Query Trace > app/models/sustainable_material_entry.rb:441:in `metric_data'
- from app/models/project_calculations.rb:133:in `block in recalculate'
- from app/models/project_calculations.rb:132:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- 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]]
- Query Trace > app/models/sustainable_material_entry_type.rb:43:in `json_data'
- from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
- from app/models/sustainable_material_entry.rb:442:in `collect'
- from app/models/sustainable_material_entry.rb:442:in `metric_data'
- from app/models/project_calculations.rb:133:in `block in recalculate'
- 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"]]
- Query Trace > app/models/sustainable_material_type.rb:43:in `collect'
- from app/models/sustainable_material_type.rb:43:in `json_data_custom'
- from app/models/sustainable_material_entry_type.rb:45:in `json_data'
- from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
- from app/models/sustainable_material_entry.rb:442:in `collect'
- 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"]]
- Query Trace > app/models/sustainable_material_type.rb:44:in `json_data_custom'
- from app/models/sustainable_material_entry_type.rb:45:in `json_data'
- from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
- from app/models/sustainable_material_entry.rb:442:in `collect'
- from app/models/sustainable_material_entry.rb:442:in `metric_data'
- 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"]]
- Query Trace > app/models/sustainable_material_entry_type.rb:50:in `json_data'
- from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
- from app/models/sustainable_material_entry.rb:442:in `collect'
- from app/models/sustainable_material_entry.rb:442:in `metric_data'
- from app/models/project_calculations.rb:133:in `block in recalculate'
- (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"]]
- Query Trace > app/models/sustainable_material_entry_type.rb:57:in `json_data'
- from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
- from app/models/sustainable_material_entry.rb:442:in `collect'
- from app/models/sustainable_material_entry.rb:442:in `metric_data'
- from app/models/project_calculations.rb:133:in `block in recalculate'
- (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"]]
- Query Trace > app/models/sustainable_material_entry_type.rb:58:in `json_data'
- from app/models/sustainable_material_entry.rb:442:in `block in metric_data'
- from app/models/sustainable_material_entry.rb:442:in `collect'
- from app/models/sustainable_material_entry.rb:442:in `metric_data'
- from app/models/project_calculations.rb:133:in `block in recalculate'
- (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"]]
- Query Trace > app/models/project_calculations.rb:491:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- (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"]]
- Query Trace > app/models/project_calculations.rb:491:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- (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"]]
- Query Trace > app/models/project_calculations.rb:496:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- 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]]
- Query Trace > app/models/project_calculations.rb:498:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- (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"]]
- Query Trace > app/models/project_calculations.rb:508:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- (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"]]
- Query Trace > app/models/project_calculations.rb:513:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- (0.3ms) BEGIN
- Query Trace > app/models/project_calculations.rb:515:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- 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]]
- Query Trace > app/models/project_calculations.rb:515:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- 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"]]
- Query Trace > app/models/project_calculations.rb:515:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- (3.7ms) COMMIT
- Query Trace > app/models/project_calculations.rb:515:in `recalculate'
- from app/models/project.rb:114:in `update_calculations'
- from app/controllers/esc_controller.rb:124:in `create'
- Redirected to http://localhost:3000/esc/0b526b90-544a-470b-8325-c59655c2fdb9#1a2bcc75-974f-4557-af6b-f265600bb554
- Completed 302 Found in 2046ms (ActiveRecord: 856.9ms)
- Started GET "/esc/0b526b90-544a-470b-8325-c59655c2fdb9" for 192.168.176.1 at 2018-08-28 12:08:06 +0000
- Processing by EscController#index as HTML
- Parameters: {"project_id"=>"0b526b90-544a-470b-8325-c59655c2fdb9"}
- 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]]
- 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]]
- Query Trace > app/controllers/application_controller.rb:721:in `project_belongs_to_account?'
- 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]]
- Query Trace > app/controllers/application_controller.rb:723:in `project_belongs_to_account?'
- 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]]
- Query Trace > app/controllers/application_controller.rb:957:in `project_is_active?'
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/controllers/application_controller.rb:958:in `project_is_active?'
- 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]]
- Query Trace > app/controllers/esc_controller.rb:220:in `set_project'
- 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"]]
- Query Trace > app/models/tag.rb:18:in `sort_by'
- from app/models/tag.rb:18:in `block in <class:Tag>'
- from app/models/tag.rb:17:in `block in <class:Tag>'
- from app/controllers/esc_controller.rb:224:in `set_tags'
- 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]]
- Query Trace > app/controllers/application_controller.rb:1047:in `allowable_credit?'
- from app/controllers/esc_controller.rb:11:in `block in <class:EscController>'
- 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]]
- Query Trace > app/controllers/application_controller.rb:1048:in `allowable_credit?'
- from app/controllers/esc_controller.rb:11:in `block in <class:EscController>'
- 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"]]
- Query Trace > app/controllers/esc_controller.rb:22:in `index'
- 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"]]
- Query Trace > app/controllers/esc_controller.rb:22:in `index'
- Couldn't find template for digesting: info_partial_names/info_partial_name
- Rendering esc/index.html.erb within layouts/application
- 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]]
- Query Trace > app/views/shared/_modal_for_info.html.erb:2:in `_app_views_shared__modal_for_info_html_erb__1772910250955066114_119795500'
- from app/views/esc/index.html.erb:1:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- Rendered esc/_info.html.erb (1.1ms)
- Rendered shared/_modal_for_info.html.erb (8.2ms)
- Rendered layouts/_breadcrumb.erb (0.7ms)
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:194:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:196:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:198:in `creator_name'
- from app/views/esc/_esc_table.html.erb:10:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/concerns/tags_associations.rb:11:in `tag'
- from app/views/esc/_esc_table.html.erb:11:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:14:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:25:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/esc/_esc_table.html.erb:48:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/index.html.erb:58:in `_app_views_esc_index_html_erb___2790194608914839134_120203380'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/esc/_esc_table.html.erb:57:in `block in _app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- from app/views/esc/_esc_table.html.erb:2:in `each'
- from app/views/esc/_esc_table.html.erb:2:in `_app_views_esc__esc_table_html_erb__3262265243794234329_119271380'
- Rendered esc/_esc_table.html.erb (1017.8ms)
- Rendered shared/_debug.html.erb (1.1ms)
- Rendered esc/index.html.erb within layouts/application (1033.1ms)
- 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]]
- Query Trace > app/models/account.rb:98:in `full_name'
- from app/views/layouts/_navigation_top.html.erb:13:in `_app_views_layouts__navigation_top_html_erb__2851521937230260528_124833960'
- from app/views/layouts/application.html.erb:19:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- 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"]]
- Query Trace > app/models/account.rb:107:in `has_projects_with_active?'
- from app/views/layouts/_navigation_top.html.erb:105:in `_app_views_layouts__navigation_top_html_erb__2851521937230260528_124833960'
- from app/views/layouts/application.html.erb:19:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- 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
- Query Trace > app/models/account.rb:108:in `has_projects_with_active?'
- from app/views/layouts/_navigation_top.html.erb:105:in `_app_views_layouts__navigation_top_html_erb__2851521937230260528_124833960'
- from app/views/layouts/application.html.erb:19:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_navigation_top.html.erb (19.6ms)
- Rendered shared/_need_activation.html.erb (0.4ms)
- Rendered layouts/_app_modals.html.erb (1.4ms)
- 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"]]
- Query Trace > app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
- from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
- from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_navigation_links.erb (2.3ms)
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
- from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_navigation_links.erb (1.3ms)
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
- from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_navigation_links.erb (0.6ms)
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
- from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_navigation_links.erb (1.0ms)
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
- from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_navigation_links.erb (0.6ms)
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
- from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_navigation_links.erb (0.9ms)
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
- from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_navigation_links.erb (0.6ms)
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
- from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_navigation_links.erb (0.6ms)
- 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]]
- Query Trace > app/models/project.rb:240:in `is_active'
- from app/views/project/_projects_left_menu.html.erb:17:in `block in _app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/project/_projects_left_menu.html.erb:2:in `_app_views_project__projects_left_menu_html_erb__3581243804039234555_127104800'
- from app/views/layouts/_navigation.erb:14:in `_app_views_layouts__navigation_erb__40733963329309457_127223460'
- from app/views/layouts/application.html.erb:23:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_navigation_links.erb (0.5ms)
- Rendered project/_projects_left_menu.html.erb (69.1ms)
- Rendered layouts/_navigation.erb (70.0ms)
- 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]]
- Query Trace > app/views/shared/_link_to_modal.html.erb:2:in `_app_views_shared__link_to_modal_html_erb__1734418375885643971_122088560'
- from app/views/layouts/_nav_breadcrumbs.html.erb:208:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
- from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered shared/_link_to_modal.html.erb (3.4ms)
- 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]]
- Query Trace > app/models/account.rb:288:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/layouts/_nav_breadcrumbs.html.erb:226:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
- from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- 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]]
- Query Trace > app/models/account.rb:290:in `get_role'
- from app/controllers/application_controller.rb:1016:in `is_project_spectator?'
- from app/views/layouts/_nav_breadcrumbs.html.erb:226:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
- from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/layouts/_nav_breadcrumbs.html.erb:237:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
- from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/layouts/_nav_breadcrumbs.html.erb:237:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
- from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- 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]]
- Query Trace > app/helpers/application_helper.rb:436:in `get_project_status_class'
- from app/views/layouts/_nav_breadcrumbs.html.erb:244:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
- from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- 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]]
- Query Trace > app/models/project.rb:248:in `is_unactive'
- from app/helpers/application_helper.rb:437:in `get_project_status_class'
- from app/views/layouts/_nav_breadcrumbs.html.erb:244:in `_app_views_layouts__nav_breadcrumbs_html_erb__219111909665373325_123784320'
- from app/views/layouts/application.html.erb:25:in `_app_views_layouts_application_html_erb__74673072329030289_119872440'
- Rendered layouts/_nav_breadcrumbs.html.erb (43.3ms)
- Completed 200 OK in 1767ms (Views: 1447.0ms | ActiveRecord: 269.7ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement